Lessons Learned while Automating Fetch of Ansible Vault Encryption Passwords using 1Password CLI
The other day I was unable to decrypt a few of my Ansible Vault encrypted host_var files in a playbook. As best I can tell, the problem was related to my use of an executable vault-password-file and the 1Password CLI for fetching passwords. Follow along for a frightening story and some interesting technical tidbits. Background on how I stored Vault passwords I rely on Ansible Vault to encrypt sensitive data in my homelab Ansible playbooks. I stored the Vault password in 1Password, and retrieve it using the 1Password command line interface (CLI). ...