Hands-on task
This task is step 9 of the course “Terraform and Ansible”
Ansible: encrypt vault secrets
The file /root/secrets.yml with passwords is stored in plaintext. Encrypt it with ansible-vault using the password izzy (in place — the file stays at /root/secrets.yml, but becomes encrypted).
What you'll practise:
- ansible-vault
- encrypting secrets
- encrypt
- vault-password-file