From ec403db1c7c8b23aa0ea09705b53596ce9cb6951 Mon Sep 17 00:00:00 2001 From: Daniel-at-github Date: Thu, 6 Apr 2023 21:20:28 +0200 Subject: [PATCH] Document how to run all tasks, even the ones with the never tag (#80315) Co-authored-by: Martin Krizek --- docs/docsite/rst/playbook_guide/playbooks_tags.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/docsite/rst/playbook_guide/playbooks_tags.rst b/docs/docsite/rst/playbook_guide/playbooks_tags.rst index deff48bd904..e6de2321c9b 100644 --- a/docs/docsite/rst/playbook_guide/playbooks_tags.rst +++ b/docs/docsite/rst/playbook_guide/playbooks_tags.rst @@ -351,6 +351,12 @@ To run all tasks except those tagged ``packages``: ansible-playbook example.yml --skip-tags "packages" +To run all tasks, even those excluded because are tagged ``never``: + +.. code-block:: bash + + ansible-playbook example.yml --tags "all,never" + Previewing the results of using tags ------------------------------------