Commit 779c6cb7 by George Yoshida

In the yum module example, use present/absent instead of installed/removed

parent 375edbd0
...@@ -107,10 +107,10 @@ EXAMPLES = ''' ...@@ -107,10 +107,10 @@ EXAMPLES = '''
yum: name=httpd state=latest yum: name=httpd state=latest
- name: remove the Apache package - 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 - 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 - name: upgrade all packages
yum: name=* state=latest yum: name=* state=latest
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment