Commit 3c15d646 by Dag Wieers

Add an example to show all hostvars using debug

This is a useful example to help debug how facts and vars are being collated.
parent ae29e43f
......@@ -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