updated package examples

This commit is contained in:
Brian Coca 2015-06-08 20:25:39 -04:00 committed by Matt Clay
parent d4d362b475
commit 61054921cf

View file

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