1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Merge pull request #7089 from dagwieers/debug-docs

Add an example to show all hostvars using debug
This commit is contained in:
James Cammarata 2014-04-21 12:11:39 -05:00
commit 149339f620

View file

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