3. Inventory
An inventory file classifies nodes into groups
Default path is
/etc/ansible/hosts
[webserver]
web1.machine ansible_host=4242 ansible_user=john
web2.machine
web3.machine
[databaseserver]
db1.machine
db2.machine
Last updated
An inventory file classifies nodes into groups
Default path is /etc/ansible/hosts
[webserver]
web1.machine ansible_host=4242 ansible_user=john
web2.machine
web3.machine
[databaseserver]
db1.machine
db2.machine
Last updated