Difference between revisions of "Ansible-playbook -i"
Jump to navigation
Jump to search
(4 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
− | + | <code>[[ansible-playbook]] -i</code> specify [[inventory]] host path or comma separated host list. | |
+ | |||
Examples: | Examples: | ||
Line 6: | Line 7: | ||
== Related == | == Related == | ||
− | * <code>[[ansible-inventory]]</code> | + | * <code>[[ansible-inventory --list]]</code> |
+ | * <code>[[hosts:]]</code> | ||
== See also == | == See also == | ||
+ | * {{ansible-inventory}} | ||
* {{ansible-playbook}} | * {{ansible-playbook}} | ||
[[Category:Ansible]] | [[Category:Ansible]] |
Latest revision as of 17:38, 16 January 2023
ansible-playbook -i
specify inventory host path or comma separated host list.
Examples:
ansible-playbook -i my_host_test_1 your_playbook.yml
Related[edit]
See also[edit]
Advertising: