summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWojciech Sciesinski <it-praktyk@users.noreply.github.com>2019-07-09 19:04:12 +0200
committerAlicia Cozine <879121+acozine@users.noreply.github.com>2019-07-09 19:04:12 +0200
commitf9a31e3e17f95bf339d0b652564ffb3a201a24d4 (patch)
tree81b6db2a611e1edf5dbdf8f4d186e071f5cb048d
parentUpdate vsphere_file.py (#58874) (diff)
downloadansible-f9a31e3e17f95bf339d0b652564ffb3a201a24d4.tar.xz
ansible-f9a31e3e17f95bf339d0b652564ffb3a201a24d4.zip
Provide the list of packages in a modern way (#58668)
-rw-r--r--docs/docsite/rst/user_guide/playbooks_blocks.rst6
-rw-r--r--docs/docsite/rst/user_guide/playbooks_tags.rst7
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 6d41a366aa..1f99afb76e 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 bc08b0ef20..0a66e5b2e9 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