0 votes
in DevOps by
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)

Related questions

0 votes
asked Sep 11, 2022 in Scala Constructs by sharadyadav1986
+1 vote
asked Jan 20, 2020 in DevOps by AdilsonLima
...