summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBaptiste Mille-Mathias <baptiste.millemathias@gmail.com>2021-03-30 17:05:54 +0200
committerGitHub <noreply@github.com>2021-03-30 17:05:54 +0200
commit6b33864a2cfd2b702a7372d7a68fdc247b4f31a7 (patch)
tree70d85d055120ad3d67b5587274bd832e3ec61d06
parentUpdate Ansible release version to v2.11.0b4.post0. (#74064) (diff)
downloadansible-6b33864a2cfd2b702a7372d7a68fdc247b4f31a7.tar.xz
ansible-6b33864a2cfd2b702a7372d7a68fdc247b4f31a7.zip
Clarify tags on tasks are applied with OR and not AND (#74038)
Co-authored-by: flowerysong <junk+github@flowerysong.com>
-rw-r--r--docs/docsite/rst/user_guide/playbooks_tags.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/docsite/rst/user_guide/playbooks_tags.rst b/docs/docsite/rst/user_guide/playbooks_tags.rst
index 3929109a2f..5210e5e935 100644
--- a/docs/docsite/rst/user_guide/playbooks_tags.rst
+++ b/docs/docsite/rst/user_guide/playbooks_tags.rst
@@ -331,8 +331,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 the tags ``tag1`` and ``tag2``
-* ``--skip-tags [tag3, tag4]`` - run all tasks except those with the tags ``tag3`` and ``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