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

▼ Show 1 Answer

0 votes
by

We need to use the following command

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

DevOps
Learn More with Madanswer

Related questions

0 votes
asked Mar 3, 2020 in DevOps by rajeshsharma
...