Commit 149339f6 by James Cammarata

Merge pull request #7089 from dagwieers/debug-docs

Add an example to show all hostvars using debug
parents 53754357 3c15d646
......@@ -50,6 +50,9 @@ EXAMPLES = '''
- shell: /usr/bin/uptime
register: result
- debug: var=result
- name: Display all variables/facts known for a host
debug: var=hostvars[inventory_hostname]
'''
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment