updated package examples

pull/18777/head
Brian Coca 9 years ago committed by Matt Clay
parent d4d362b475
commit 61054921cf

@ -42,9 +42,10 @@ notes:
- This module actually calls the pertinent package modules for each system (apt, yum, etc). - This module actually calls the pertinent package modules for each system (apt, yum, etc).
''' '''
EXAMPLES = ''' EXAMPLES = '''
- name: install the latest version of Vim - name: install the latest version of ntpdate
package: name=vim-minimal state=latest package: name=ntpdate state=latest
- name: remove the Vim package # This uses a variable as this changes per distribution.
package : name=vim-minimal state=absent - name: remove the apache package
package : name={{apache}} state=absent
''' '''

Loading…
Cancel
Save