• Home
  • Recent Q&A
  • Java
  • Cloud
  • JavaScript
  • Python
  • SQL
  • PHP
  • HTML
  • C++
  • Data Science
  • DBMS
  • Devops
  • Hadoop
  • Machine Learning
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)

Related questions

0 votes
asked Jan 9, 2020 in Vue.JS by GeorgeBell
0 votes
asked Feb 12, 2020 in Ansible by miceperry
...