in DevOps by
Q:
How you get the Inventory variables defined for the host?

1 Answer

0 votes
by

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

0 votes
asked Mar 3, 2020 in DevOps by rajeshsharma
0 votes
asked Mar 9, 2020 in DevOps by Hodge
+1 vote
asked Apr 13, 2020 in QuickTest Professional (QTP) by rajeshsharma
+2 votes
asked May 8, 2020 in Ansible by SakshiSharma
0 votes
0 votes
asked Jun 28, 2020 in Python by Robindeniel
...