From 887b7e7190076d9b8ce9ef3e5b5b5642186032de Mon Sep 17 00:00:00 2001 From: gx1 Date: Fri, 17 Jul 2020 18:58:11 +0200 Subject: [PATCH] ansible-playbook: add start-at and tags commands (#4171) --- pages/common/ansible-playbook.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pages/common/ansible-playbook.md b/pages/common/ansible-playbook.md index d02bfce648d76a..ebeda494466dc7 100644 --- a/pages/common/ansible-playbook.md +++ b/pages/common/ansible-playbook.md @@ -18,3 +18,11 @@ - Run tasks in playbook with extra variables defined in a json file: `ansible-playbook {{playbook}} -e "@{{variables.json}}"` + +- Run tasks in playbook for the given tags: + +`ansible-playbook {{playbook}} --tags {tags}}` + +- Run tasks in a playbook starting at a specific task: + +`ansible-playbook {{playbook}} --start-at {{task_name}}`