Change example syntax on package module

pull/18777/head
Sam Doran 8 years ago committed by Matt Clay
parent ca12f5acac
commit 6c16ab6ca8

@ -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
'''

Loading…
Cancel
Save