Once you encrypt a file, you can only edit the file by using ansible-vault again

How to edit a file after it's been encrypted:

ansible-vault edit defaults/main.yml

> Vault password:

This will ask for the password used to encrypt the file.

You'll lose your data if you lose your password!


Popular posts from this blog

Check MySQL query history from command line