What does -i hosts specify?
ansible-playbook -i hosts site.yml
- The inventory of machines to configure
- The single playbook file that should run
- The number of parallel forks to use
- The SSH private key file to connect with
The inventory lists the hosts and groups a playbook targets.
Play DevOps ▸