mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
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
|
||||
list:
|
||||
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
|
||||
default: null
|
||||
state:
|
||||
|
@ -229,6 +229,11 @@ EXAMPLES = '''
|
|||
yum:
|
||||
name: "@^gnome-desktop-environment"
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue