diff --git a/docsite/rst/playbooks_tags.rst b/docsite/rst/playbooks_tags.rst index 7876fdc3d89..148e9dcfb80 100644 --- a/docsite/rst/playbooks_tags.rst +++ b/docsite/rst/playbooks_tags.rst @@ -36,7 +36,8 @@ You may also apply tags to roles:: And you may also tag basic include statements:: - - include: foo.yml tags=web,foo + - include: foo.yml + tags: [web,foo] Both of these apply the specified tags to every task inside the included file or role, so that these tasks can be selectively run when the playbook