Categories

Dec 1, 2019 in DevOps
Q: How you get the Inventory variables defined for the host?

1 Answer

Dec 1, 2019

We need to use the following command

Ansible – m debug- a “var=hostvars[‘hostname’]” localhost(10.92.62.215)

Click here to read more about DevOps
Click here to read more about Insurance

Related questions

Madanswer
Mar 3 in DevOps
Mar 9 in DevOps
Apr 13 in QuickTest Professional (QTP)
...