Example added

How to define specific version of the package we need...
This commit is contained in:
AlejandroF 2015-01-28 11:29:29 -03:00
parent fc1045a1ee
commit 7b40f63a4d

View file

@ -122,6 +122,9 @@ EXAMPLES = '''
- 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=present yum: name=httpd enablerepo=testing state=present
- name: install one specific version of Apache
yum: name=httpd-2.2.29-1.4.amzn1 state=present
- name: upgrade all packages - name: upgrade all packages
yum: name=* state=latest yum: name=* state=latest