Difference between revisions of "Ansible-playbook -i"
Jump to navigation
Jump to search
(Redirected page to Ansible-playbook) Tag: New redirect |
|||
(14 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | + | {{lc}} | |
+ | <code>[[ansible-playbook]] -i</code> specify [[inventory]] host path or comma separated host list. | ||
+ | |||
+ | |||
+ | Examples: | ||
+ | * <code>[[ansible-playbook]] -i my_host_test_1 your_playbook.yml</code> | ||
+ | |||
+ | == Related == | ||
+ | * <code>[[ansible-inventory --list]]</code> | ||
+ | * <code>[[hosts:]]</code> | ||
+ | |||
+ | == See also == | ||
+ | * {{ansible-inventory}} | ||
+ | * {{ansible-playbook}} | ||
+ | |||
+ | [[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: