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 to keep secret data in a playbook?



How to keep secret data in a playbook?..

Answer / Saumitra Singh

"Ansible provides the 'vault' feature to encrypt sensitive data, such as passwords or API keys. To use it, you can create a vault file containing your secrets and then reference them in your playbook using the 'vault' keyword. Here's an example:n[
{"name": "example_play",n "vars_files": [n "secrets.yml"n ]n }"]

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Ansible Interview Questions

What are the different components of ansible? Explain ansible architecture.

1 Answers  


What is ansible?

1 Answers  


What is ansible task?

1 Answers  


What are ansible server requirements?

1 Answers  


How can you speed up management inside in ec2?

1 Answers  


How to generate crypto passwords for the user module?

1 Answers  


How can you create a lamp stack and deploy a webpage by using ansible?

1 Answers  


How do I get ansible to reuse connections, enable kerberized ssh, or have ansible pay attention to my local ssh config file?

1 Answers  


How can I display all the inventory vars defined for my host?

1 Answers  


Compare ansible with chef.

1 Answers  


How can one generate encrypted passwords for the user module?

1 Answers  


How does configuration management is help an organization?

1 Answers  


Categories