Change example syntax on package module

This commit is contained in:
Sam Doran 2016-10-12 18:00:10 -04:00 committed by Matt Clay
parent ca12f5acac
commit 6c16ab6ca8

View file

@ -53,9 +53,13 @@ notes:
'''
EXAMPLES = '''
- 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.
- name: remove the apache package
package: name={{apache}} state=absent
package:
name: "{{ apache }}"
state: absent
'''