1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

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