Skip to content

Commit

Permalink
Removing [] from --tags and --skip-tags (#406) (#421)
Browse files Browse the repository at this point in the history
Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit ea9559b)

Co-authored-by: Patrik Hajnal <patrikhajnal93@gmail.com>
  • Loading branch information
patchback[bot] and patrik93 authored Sep 21, 2023
1 parent 1aa9894 commit b3e8d64
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/docsite/rst/playbook_guide/playbooks_tags.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit b3e8d64

Please sign in to comment.