mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Change example syntax on package module
This commit is contained in:
@@ -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
|
||||
'''
|
||||
|
||||
Reference in New Issue
Block a user