Ansible hostvars

From Freephile Wiki
Jump to navigation Jump to search

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.