October 2017
Intermediate to advanced
326 pages
7h 20m
English
One of the features of Ansible is the ability to override the defaults per project. In order to do it that, we just need to create a file called ansible.cfg in the root of our project and Ansible will read it and apply the configuration.
There is a big number of parameters that can be configured, and all of them can be found in the official documentation at http://docs.ansible.com/ansible/intro_configuration.html.
As you can see, the documentation for Ansible is quite good, and the majority of the time, it will provide an answer to your problems.
Let's see how the configuration can help us. If you remember from the previous example, we have specified the flag -i in order to tell Ansible where our inventory file lives. ...