Co-authored-by: flowerysong <junk+github@flowerysong.com>
| ... | ... |
@@ -331,8 +331,8 @@ Once you have added tags to your tasks, includes, blocks, plays, roles, and impo |
| 331 | 331 |
:ref:`ansible-playbook` offers five tag-related command-line options: |
| 332 | 332 |
|
| 333 | 333 |
* ``--tags all`` - run all tasks, ignore tags (default behavior) |
| 334 |
-* ``--tags [tag1, tag2]`` - run only tasks with the tags ``tag1`` and ``tag2`` |
|
| 335 |
-* ``--skip-tags [tag3, tag4]`` - run all tasks except those with the tags ``tag3`` and ``tag4`` |
|
| 334 |
+* ``--tags [tag1, tag2]`` - run only tasks with either the tag ``tag1`` or the tag ``tag2`` |
|
| 335 |
+* ``--skip-tags [tag3, tag4]`` - run all tasks except those with either the tag ``tag3`` or the tag ``tag4`` |
|
| 336 | 336 |
* ``--tags tagged`` - run only tasks with at least one tag |
| 337 | 337 |
* ``--tags untagged`` - run only tasks with no tags |
| 338 | 338 |
|