August 2017
Intermediate to advanced
332 pages
9h 16m
English
An inventory is a list of all the servers that are managed by Ansible. Each server requires nothing more than the Python interpreter and the SSH server installed. By default, Ansible assumes that the SSH keys are used for authentication; however, it is also possible to use the username and the password by adding the --ask-pass option to the Ansible commands.
The inventory is defined in the /etc/ansible/hosts file and it has the following structure:
[group_name]<server1_address><server2_address>...
Read now
Unlock full access