documented new verbosity option
This commit is contained in:
parent
025bc70acd
commit
453d267489
1 changed files with 8 additions and 2 deletions
|
@ -38,6 +38,12 @@ options:
|
||||||
var:
|
var:
|
||||||
description:
|
description:
|
||||||
- A variable name to debug. Mutually exclusive with the 'msg' option.
|
- A variable name to debug. Mutually exclusive with the 'msg' option.
|
||||||
|
verbosity:
|
||||||
|
description:
|
||||||
|
- A number that controls when the debug is run, if you set to 3 it will only run debug when -vvv or above
|
||||||
|
required: False
|
||||||
|
default: 0
|
||||||
|
version_added: "2.1"
|
||||||
author:
|
author:
|
||||||
- "Dag Wieers (@dagwieers)"
|
- "Dag Wieers (@dagwieers)"
|
||||||
- "Michael DeHaan"
|
- "Michael DeHaan"
|
||||||
|
@ -53,8 +59,8 @@ EXAMPLES = '''
|
||||||
- shell: /usr/bin/uptime
|
- shell: /usr/bin/uptime
|
||||||
register: result
|
register: result
|
||||||
|
|
||||||
- debug: var=result
|
- debug: var=result verbosity=2
|
||||||
|
|
||||||
- name: Display all variables/facts known for a host
|
- name: Display all variables/facts known for a host
|
||||||
debug: var=hostvars[inventory_hostname]
|
debug: var=hostvars[inventory_hostname] verbosity=4
|
||||||
'''
|
'''
|
||||||
|
|
Loading…
Reference in a new issue