Fixup documentation for the list option in yum module (#20605)
This commit is contained in:
parent
db31d4af04
commit
39608128c5
1 changed files with 6 additions and 1 deletions
|
@ -76,7 +76,7 @@ options:
|
||||||
default: null
|
default: null
|
||||||
list:
|
list:
|
||||||
description:
|
description:
|
||||||
- Various (non-idempotent) commands for usage with C(/usr/bin/ansible) and I(not) playbooks. See examples.
|
- Package name to run the equivalent of yum list <package> against.
|
||||||
required: false
|
required: false
|
||||||
default: null
|
default: null
|
||||||
state:
|
state:
|
||||||
|
@ -229,6 +229,11 @@ EXAMPLES = '''
|
||||||
yum:
|
yum:
|
||||||
name: "@^gnome-desktop-environment"
|
name: "@^gnome-desktop-environment"
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
|
- name: List ansible packages and register result to print with debug later.
|
||||||
|
yum:
|
||||||
|
list: ansible
|
||||||
|
register: result
|
||||||
'''
|
'''
|
||||||
|
|
||||||
# 64k. Number of bytes to read at a time when manually downloading pkgs via a url
|
# 64k. Number of bytes to read at a time when manually downloading pkgs via a url
|
||||||
|
|
Loading…
Reference in a new issue