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 |
What are the different components of ansible?
Does ansible support aws?
Does ansible support hardware provisioning?
How is ansible different from puppet?
What is the difference between a variable name and an environment variable?
What are the different components of ansible? Explain ansible architecture.
When should I use {{ }}?
What are ad-hoc commands? Give an example.
How can you access a list of ansible_variables?
How can you create a lamp stack and deploy a webpage by using ansible?
Is it unsafe to bulk-set task arguments from a variable?
How do I disable cowsay?