Merge pull request #7089 from dagwieers/debug-docs
Add an example to show all hostvars using debugpull/4420/head
commit
149339f620
|
@ -50,6 +50,9 @@ EXAMPLES = '''
|
||||||
|
|
||||||
- shell: /usr/bin/uptime
|
- shell: /usr/bin/uptime
|
||||||
register: result
|
register: result
|
||||||
|
|
||||||
- debug: var=result
|
- debug: var=result
|
||||||
|
|
||||||
|
- name: Display all variables/facts known for a host
|
||||||
|
debug: var=hostvars[inventory_hostname]
|
||||||
'''
|
'''
|
||||||
|
|
Loading…
Reference in New Issue