From f9a31e3e17f95bf339d0b652564ffb3a201a24d4 Mon Sep 17 00:00:00 2001 From: Wojciech Sciesinski Date: Tue, 9 Jul 2019 19:04:12 +0200 Subject: [PATCH] Provide the list of packages in a modern way (#58668) --- docs/docsite/rst/user_guide/playbooks_blocks.rst | 6 +++--- docs/docsite/rst/user_guide/playbooks_tags.rst | 7 +++---- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/docs/docsite/rst/user_guide/playbooks_blocks.rst b/docs/docsite/rst/user_guide/playbooks_blocks.rst index 6d41a366aa2..1f99afb76ec 100644 --- a/docs/docsite/rst/user_guide/playbooks_blocks.rst +++ b/docs/docsite/rst/user_guide/playbooks_blocks.rst @@ -15,11 +15,11 @@ Blocks allow for logical grouping of tasks and in play error handling. Most of w block: - name: install httpd and memcached yum: - name: "{{ item }}" - state: present - loop: + name: - httpd - memcached + state: present + - name: apply the foo config template template: src: templates/src.j2 diff --git a/docs/docsite/rst/user_guide/playbooks_tags.rst b/docs/docsite/rst/user_guide/playbooks_tags.rst index bc08b0ef205..0a66e5b2e94 100644 --- a/docs/docsite/rst/user_guide/playbooks_tags.rst +++ b/docs/docsite/rst/user_guide/playbooks_tags.rst @@ -16,11 +16,10 @@ that tags two tasks with different tags:: tasks: - yum: - name: "{{ item }}" + name: + - httpd + - memcached state: present - loop: - - httpd - - memcached tags: - packages