Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How can you access a list of ansible_variables?



How can you access a list of ansible_variables?..

Answer / Prashant Parashar

To access a list of ansible_variables, you can use the setup module in an Ansible playbook. By running the following command: - name: Display variables hosts: all tasks: - debug: var=ansible_facts.ansible_all_hosts

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Ansible Interview Questions

What features does the ansible tower provide?

1 Answers  


How to create encrypted files using ansible?

1 Answers  


How is ansible different from puppet?

1 Answers  


What is ansible task?

1 Answers  


How do I generate crypted passwords for the user module?

1 Answers  


Give a comparison between ansible and puppet.

1 Answers  


Can you copy files recursively onto a target host? If yes, how?

1 Answers  


Talk about ansible architecture.

1 Answers  


What is the use of ansible vaults?

1 Answers  


How do I loop over a list of hosts in a group, inside of a template?

1 Answers  


How do I handle python pathing not having a python 2.x in /usr/bin/python on a remote machine?

1 Answers  


How do I configure a jump host to access servers that I have no direct access to?

1 Answers  


Categories