Create an ansible.cfg file to configure ansible's playbooks behavior:
Fail immediately as soon as any task fails
By default ansible continues executing tasks as long as at least one host has succeeded. In out environment this doesn't make sense because we need all hosts prepared to run tests.
Add timing
This will be useful to know at which time each task has started and be able to match it with logs in case of issues. It will also give an idea of which tasks consume more time, which can be used to try to optimize the playbooks.
Create an ansible.cfg file to configure ansible's playbooks behavior:
Fail immediately as soon as any task fails
By default ansible continues executing tasks as long as at least one host has succeeded. In out environment this doesn't make sense because we need all hosts prepared to run tests.
Add timing
This will be useful to know at which time each task has started and be able to match it with logs in case of issues. It will also give an idea of which tasks consume more time, which can be used to try to optimize the playbooks.