Difference between revisions of "Ansible-playbook --check"

From wikieduonline
Jump to navigation Jump to search
(Created page with " * <code>ansible-playbook --check foo.yml</code> == See also == * {{ansible-playbook}}")
 
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
* <code>[[ansible-playbook --check]] foo.yml</code>
+
{{lowercase}}
 +
In check mode, Ansible runs without making any changes on remote system.
  
 +
<code>[[ansible-playbook]] --check foo.yml</code>
  
 +
<code>[[ansible-playbook]] --check foo.yml [[-i]] your_host</code>
 +
 +
[[-C]] or [[--check]]
 +
 +
 +
== Related ==
 +
* <code>[[--dry-run]]</code>
  
 
== See also ==
 
== See also ==
 
* {{ansible-playbook}}
 
* {{ansible-playbook}}
 +
 +
[[Category:Ansible]]

Latest revision as of 14:16, 7 November 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


Related[edit]

See also[edit]

Advertising: