in Ansible by
How can you see all variables for a host?

▼ Show 1 Answer

0 votes

You can see all the variables using the host vary variable. It stores host variables with the hostname as key. For example, to look at the variables defined for localhost, you can run the following command, such as:

Learn More with Madanswer

Related questions

0 votes
asked Nov 27, 2019 in DevOps by rajeshsharma