Difference between revisions of "Ansible hostvars"
Jump to navigation
Jump to search
(Created page with "<code>ansible -m debug -a "var=hostvars['wiki.example.net']" localhost </code> will give you all the defined 'variables' associated with a given host Many of these may be sen...") |
(No difference)
|
Latest revision as of 12:41, 14 September 2016
ansible -m debug -a "var=hostvars['wiki.example.net']" localhost
will give you all the defined 'variables' associated with a given host
Many of these may be sensitive, so they aren't shown here, but give it a try.