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? Explain ansible architecture.
What is ansible?
What is ansible task?
What are ansible server requirements?
How can you speed up management inside in ec2?
How to generate crypto passwords for the user module?
How can you create a lamp stack and deploy a webpage by using ansible?
How do I get ansible to reuse connections, enable kerberized ssh, or have ansible pay attention to my local ssh config file?
How can I display all the inventory vars defined for my host?
Compare ansible with chef.
How can one generate encrypted passwords for the user module?
How does configuration management is help an organization?