Ansible Concepts: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
Line 4: Line 4:


=Inventory File=
=Inventory File=
Ansible works against multiple systems at the same time. It does this by selecting portions of systems listed in Ansible’s ''inventory file''. The default location of the inventory file is /etc/ansible/hosts.
A different location of the inventory file can be specified on the command line with:
<pre>
-i <path>
</pre>


=Playbook=
=Playbook=

Revision as of 00:55, 16 May 2017

Internal

Inventory File

Ansible works against multiple systems at the same time. It does this by selecting portions of systems listed in Ansible’s inventory file. The default location of the inventory file is /etc/ansible/hosts.

A different location of the inventory file can be specified on the command line with:

-i <path>

Playbook