Member-only story
Use Ansible Vault in Ansible Playbook — ansible vault.
How to use an Ansible Vault in an Ansible Playbook to store a password variable encrypted on disk.
How to use an Ansible Vault in an Ansible Playbook?
How to use an Ansible Vault to Protect Sensitive Data such as passwords, access keys, etc.
I will show you a live demo with some simple Ansible code.
I’m Luca Berton, and welcome to today’s episode of Ansible Pilot.
Ansible Vault
- Included in Ansible installation
- ansible-vault command line
Ansible Vault is included in every Ansible installation for the most modern operating system.
It includes all the software encryption and a handy command line utility (`ansible-vault
`) to encrypt, modify, change passwords or decrypt files.
The encryption of the Ansible Vault files is strong and relies on the AES256 cipher.