From b3e8d642fdfb24a423fd7f9a06c7b51b7a983722 Mon Sep 17 00:00:00 2001 From: "patchback[bot]" <45432694+patchback[bot]@users.noreply.github.com> Date: Thu, 21 Sep 2023 21:00:13 +0200 Subject: [PATCH] Removing [] from --tags and --skip-tags (#406) (#421) Co-authored-by: Felix Fontein (cherry picked from commit ea9559b50deebb23f6f0826a6ee9a96f2e9564fa) Co-authored-by: Patrik Hajnal --- docs/docsite/rst/playbook_guide/playbooks_tags.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docsite/rst/playbook_guide/playbooks_tags.rst b/docs/docsite/rst/playbook_guide/playbooks_tags.rst index e6de2321c9b..a7030731eda 100644 --- a/docs/docsite/rst/playbook_guide/playbooks_tags.rst +++ b/docs/docsite/rst/playbook_guide/playbooks_tags.rst @@ -334,8 +334,8 @@ Once you have added tags to your tasks, includes, blocks, plays, roles, and impo :ref:`ansible-playbook` offers five tag-related command-line options: * ``--tags all`` - run all tasks, ignore tags (default behavior) -* ``--tags [tag1, tag2]`` - run only tasks with either the tag ``tag1`` or the tag ``tag2`` -* ``--skip-tags [tag3, tag4]`` - run all tasks except those with either the tag ``tag3`` or the tag ``tag4`` +* ``--tags tag1,tag2`` - run only tasks with either the tag ``tag1`` or the tag ``tag2`` +* ``--skip-tags tag3,tag4`` - run all tasks except those with either the tag ``tag3`` or the tag ``tag4`` * ``--tags tagged`` - run only tasks with at least one tag * ``--tags untagged`` - run only tasks with no tags