encryption

Ansible Vault

Prepare: password file Create a simple password file. In the following case, I store it at ~/.ansib_vault. How to use Here is the simple snippets. ansible-vault create --vault-password-file ~/.ansib_vault ./foo.key # Make encrypted file and start editing. ansible-vault edit --vault-password-file ~/.ansib_vault ./foo.key ansible-vault encrypt --vault-password-file ~/.ssh/vault_config ./foo.key # Encrypt existing file. Further Ansible-vault usees AES for its encryption.