Answer Posted / 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 View All Answers
What is ansible galaxy?
What is ansible and what makes it stand out from the rest of the configuration management tools?
What are the ansible modules? Explain the different types.
How to access a variable of the first host in a group?
What is ansible?
Explain different modules in ansible.
How does configuration management is help an organization?
How do I disable cowsay?
Explain a few of the basic terminologies or concepts in ansible.
How do I access shell environment variables?
How do I access a variable name programmatically?
What are playbooks in ansible?
What is the use of ansible vaults?
How can looping be done over a list of hosts in a group, inside of a template?
What is the way to access shell environment variables in ansible?