summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Coca <brian.coca+git@gmail.com>2017-01-25 10:51:51 -0500
committerBrian Coca <brian.coca+git@gmail.com>2017-01-25 10:52:07 -0500
commite5f7a222153ffdf7c1e94ee2719b70e3d0a904b5 (patch)
treeb72dfeedc4dc1100dd4b3ae1f8dd7fe0c053b24d
parent1e08e9a55f3207515e32299c99fd8cd22dc6a833 (diff)
downloadansible-e5f7a222153ffdf7c1e94ee2719b70e3d0a904b5.tar.gz
clarified tag usage
-rw-r--r--docs/docsite/rst/playbooks_tags.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/docsite/rst/playbooks_tags.rst b/docs/docsite/rst/playbooks_tags.rst
index a9119577b8..68421c5cb4 100644
--- a/docs/docsite/rst/playbooks_tags.rst
+++ b/docs/docsite/rst/playbooks_tags.rst
@@ -1,10 +1,11 @@
Tags
====
-If you have a large playbook it may become useful to be able to run a
-specific part of the configuration without running the whole playbook.
+If you have a large playbook it may become useful to be able to run a specific part of the configuration without running the whole playbook.
Both plays and tasks support a "tags:" attribute for this reason.
+You can **ONLY** filter tasks based on tags from the command line with `--tags` or `--skip-tags`.
+Adding "tags:" in any part of a play (including roles) adds those tags to the contained tasks.
Example::