Debugging from command line Display all host variables for a given host as ansible sees them ansible myHost -i myInventory -m debug -a "var=hostvars[inventory_hostname]" Display all facts for a given host as ansible sees them ansible myHost -i myInventory -m setup