浏览代码

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

Co-authored-by: spageektti <git@spageektti.cc>
Arthur Lutz 9 月之前
父节点
当前提交
fadddb905c
共有 1 个文件被更改,包括 4 次插入0 次删除
  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`