Merge pull request #7089 from dagwieers/debug-docs

Add an example to show all hostvars using debug
reviewable/pr18780/r1
James Cammarata 11 years ago
commit 81f25e8b59

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

Loading…
Cancel
Save