Commit 81940c8b by Seth Vidal Committed by Michael DeHaan

add examples for yum: state=latest name=*

parent 7216a2b1
...@@ -35,6 +35,7 @@ options: ...@@ -35,6 +35,7 @@ options:
name: name:
description: description:
- package name, or package specifier with version, like C(name-1.0). - package name, or package specifier with version, like C(name-1.0).
- in state=latest this can be '*' which means run: yum -y update
required: true required: true
default: null default: null
aliases: [] aliases: []
...@@ -96,6 +97,7 @@ EXAMPLES = ''' ...@@ -96,6 +97,7 @@ EXAMPLES = '''
- yum: name=httpd state=latest - yum: name=httpd state=latest
- yum: name=httpd state=removed - yum: name=httpd state=removed
- yum: name=httpd enablerepo=testing state=installed - yum: name=httpd enablerepo=testing state=installed
- yum: name=* state=latest
''' '''
def_qf = "%{name}-%{version}-%{release}.%{arch}" def_qf = "%{name}-%{version}-%{release}.%{arch}"
......
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