mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Example added
How to define specific version of the package we need...
This commit is contained in:
@@ -123,6 +123,9 @@ EXAMPLES = '''
|
||||
- name: install the latest version of Apache from the testing repo
|
||||
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
|
||||
yum: name=* state=latest
|
||||
|
||||
|
||||
Reference in New Issue
Block a user