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

Merge pull request #7931 from quiver/fix-yum-module-doc

In yum module example, use present/absent instead of installed/removed
This commit is contained in:
Michael DeHaan 2014-06-25 17:03:10 -05:00
commit f6c7e34527

View file

@ -107,10 +107,10 @@ EXAMPLES = '''
yum: name=httpd state=latest
- name: remove the Apache package
yum: name=httpd state=removed
yum: name=httpd state=absent
- name: install the latest version of Apache from the testing repo
yum: name=httpd enablerepo=testing state=installed
yum: name=httpd enablerepo=testing state=present
- name: upgrade all packages
yum: name=* state=latest