Browse Source

ansible-playbook: add dryrun --check --diff example (#12896)

Co-authored-by: spageektti <git@spageektti.cc>
Arthur Lutz 9 months ago
parent
commit
fadddb905c
1 changed files with 4 additions and 0 deletions
  1. 4 0
      pages/common/ansible-playbook.md

+ 4 - 0
pages/common/ansible-playbook.md

@@ -26,3 +26,7 @@
 - Run tasks in a playbook starting at a specific task:
 
 `ansible-playbook {{playbook}} --start-at {{task_name}}`
+
+- Run tasks in a playbook without making any changes (dry-run):
+
+`ansible-playbook {{playbook}} --check --diff`