1.

What is Ansible Vault?

Answer»

Ansible vault is used to KEEP SENSITIVE data such as passwords instead of placing it as PLAINTEXT in playbooks or roles. Any structured data file or any single value inside the YAML file can be encrypted by Ansible. 

To encrypt a file

ansible-vault encrypt foo.yml bar.yml baz.yml

And SIMILARLY to decrypt

ansible-vault decrypt foo.yml bar.yml baz.yml


Discussion

No Comment Found