Fixup documentation for the list option in yum module (#20605)

This commit is contained in:
Jonathan Mainguy 2017-01-25 06:35:28 -05:00 committed by John R Barker
parent db31d4af04
commit 39608128c5

View file

@ -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