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
0 votes
asked Mar 25, 2022 in SAP S/4HANA Functional Capabilities 1909 by sharadyadav1986
0 votes
asked Sep 30, 2022 in Nagios by SakshiSharma
...