$ ./guess_the_languageDevOps
DevOps · medium · #87

What does -i hosts specify?

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