Difference between revisions of "Ansible-playbook --check"
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
<code>[[ansible-playbook --check]] foo.yml [[-i]] your_host</code> | <code>[[ansible-playbook --check]] foo.yml [[-i]] your_host</code> | ||
+ | |||
+ | [[-C]] or [[--check]] | ||
== See also == | == See also == |
Revision as of 13:16, 5 September 2022
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
-C or --check
See also
Advertising: