Ansible Facts And Variables
Posted on November 23, 2024
Quickly check a host for its facts
ansible <host pattern> -m setup
and compiled runtime vars
ansible <host pattern> -m debug -a "var=hostvars[inventory_hostname]"
Hey! I'll happily receive your comments
via email.
Thanks for reading.
Rails developer with a sysadmin's background, in Tallinn, Estonia ·
andreaswagner.io