From e2bba149d60261b2d422bc998fe66a25a4e6c65d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20Kr=C3=BCger?= Date: Thu, 8 Nov 2018 15:28:16 +0100 Subject: [PATCH] playbooks_reuse_roles.rst long and shorthand example actually made equivalent. (#48339) --- docs/docsite/rst/user_guide/playbooks_reuse_roles.rst | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/docsite/rst/user_guide/playbooks_reuse_roles.rst b/docs/docsite/rst/user_guide/playbooks_reuse_roles.rst index c143bc87989..4c8b265a5ad 100644 --- a/docs/docsite/rst/user_guide/playbooks_reuse_roles.rst +++ b/docs/docsite/rst/user_guide/playbooks_reuse_roles.rst @@ -173,9 +173,11 @@ Finally, you may wish to assign tags to the tasks inside the roles you specify. - hosts: webservers roles: - - role: bar - tags: ["foo"] - # using YAML shorthand, this is equivalent to the above + - role: foo + tags: + - bar + - baz + # using YAML shorthand, this is equivalent to the above: - { role: foo, tags: ["bar", "baz"] } Or, again, using the newer syntax::