diff options
author | Brian Coca <brian.coca+git@gmail.com> | 2017-01-25 10:51:51 -0500 |
---|---|---|
committer | Brian Coca <brian.coca+git@gmail.com> | 2017-01-25 10:52:07 -0500 |
commit | e5f7a222153ffdf7c1e94ee2719b70e3d0a904b5 (patch) | |
tree | b72dfeedc4dc1100dd4b3ae1f8dd7fe0c053b24d | |
parent | 1e08e9a55f3207515e32299c99fd8cd22dc6a833 (diff) | |
download | ansible-e5f7a222153ffdf7c1e94ee2719b70e3d0a904b5.tar.gz |
clarified tag usage
-rw-r--r-- | docs/docsite/rst/playbooks_tags.rst | 5 |
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:: |