From fadddb905c4348600f08319528f2ded1669f9258 Mon Sep 17 00:00:00 2001 From: Arthur Lutz Date: Wed, 5 Jun 2024 12:18:21 +0200 Subject: [PATCH] ansible-playbook: add dryrun --check --diff example (#12896) Co-authored-by: spageektti --- pages/common/ansible-playbook.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pages/common/ansible-playbook.md b/pages/common/ansible-playbook.md index c7b338452..8d3e0a38f 100644 --- a/pages/common/ansible-playbook.md +++ b/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`