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?

1 Answers  


Does ansible support aws?

1 Answers  


Does ansible support hardware provisioning?

1 Answers  


How is ansible different from puppet?

1 Answers  


What is the difference between a variable name and an environment variable?

1 Answers  


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

1 Answers  


When should I use {{ }}?

1 Answers  


What are ad-hoc commands? Give an example.

1 Answers  


How can you access a list of ansible_variables?

1 Answers  


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

1 Answers  


Is it unsafe to bulk-set task arguments from a variable?

1 Answers  


How do I disable cowsay?

1 Answers  


Categories