June 2017
Intermediate to advanced
446 pages
10h 10m
English
We do not need Ansible if we have no remote target to manage, correct? Everything starts from the fact that we need to manage some task on a remote host. The way we specify the potential remote target is with a host file. We can either have this file specifying the remote host either in /etc/ansible/hosts or use the -i option to specify the location of the file. Personally, I prefer to have this file in the same directory where my playbook is.
The inventory file is a simple, plain text INI-style file that states your target. ...