Open main menu

Ansible hostvars

Revision as of 11:41, 14 September 2016 by Freephile (talk | contribs) (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...")

(diff) ← Older revision | Approved revision (diff) | Latest revision (diff) | Newer revision → (diff)

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.