Change example syntax on package module
This commit is contained in:
parent
ca12f5acac
commit
6c16ab6ca8
1 changed files with 6 additions and 2 deletions
|
@ -53,9 +53,13 @@ notes:
|
||||||
'''
|
'''
|
||||||
EXAMPLES = '''
|
EXAMPLES = '''
|
||||||
- name: install the latest version of ntpdate
|
- name: install the latest version of ntpdate
|
||||||
package: name=ntpdate state=latest
|
package:
|
||||||
|
name: ntpdate
|
||||||
|
state: latest
|
||||||
|
|
||||||
# This uses a variable as this changes per distribution.
|
# This uses a variable as this changes per distribution.
|
||||||
- name: remove the apache package
|
- name: remove the apache package
|
||||||
package: name={{apache}} state=absent
|
package:
|
||||||
|
name: "{{ apache }}"
|
||||||
|
state: absent
|
||||||
'''
|
'''
|
||||||
|
|
Loading…
Reference in a new issue