Difference between revisions of "Ansible-playbook --check"
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
<code>[[ansible-playbook --check]] foo.yml</code> | <code>[[ansible-playbook --check]] foo.yml</code> | ||
− | + | <code>[[ansible-playbook --check]] foo.yml [[-i]] your_host</code> | |
== See also == | == See also == |
Revision as of 20:30, 4 October 2021
In check mode, Ansible runs without making any changes on remote system.
ansible-playbook --check foo.yml
ansible-playbook --check foo.yml -i your_host
See also
Advertising: