updated documentation fixing #47202 (#47267)

pull/47872/head
Moritz Grimm 6 years ago committed by Alicia Cozine
parent 73141d5035
commit 1a91b797bd

@ -62,7 +62,7 @@ following::
- name: 'YUM - async task' - name: 'YUM - async task'
yum: yum:
name: docker-io name: docker-io
state: installed state: present
async: 1000 async: 1000
poll: 0 poll: 0
register: yum_sleeper register: yum_sleeper

@ -254,7 +254,7 @@ Below is an example tasks file that explains how a role works. Our common role
- name: be sure ntp is installed - name: be sure ntp is installed
yum: yum:
name: ntp name: ntp
state: installed state: present
tags: ntp tags: ntp
- name: be sure ntp is configured - name: be sure ntp is configured

@ -14,7 +14,7 @@ Blocks allow for logical grouping of tasks and in play error handling. Most of w
- name: install httpd and memcached - name: install httpd and memcached
yum: yum:
name: "{{ item }}" name: "{{ item }}"
state: installed state: present
loop: loop:
- httpd - httpd
- memcached - memcached

@ -17,7 +17,7 @@ that tags two tasks with different tags::
tasks: tasks:
- yum: - yum:
name: "{{ item }}" name: "{{ item }}"
state: installed state: present
loop: loop:
- httpd - httpd
- memcached - memcached
@ -55,7 +55,7 @@ This example tags several tasks with one tag, "ntp"::
- name: be sure ntp is installed - name: be sure ntp is installed
yum: yum:
name: ntp name: ntp
state: installed state: present
tags: ntp tags: ntp
- name: be sure ntp is configured - name: be sure ntp is configured

Loading…
Cancel
Save