Hi
I currently have existing playbooks which use vault files in group_vars (ie. group_vars/dev/vault-all.yml). I've been having problems integrating my existing playbooks into AWX. When adding a source to my inventory via Sourced from a Project/Inventory file, I get an error "The vault password file was not found".
After much googling, I'm not really clear what is the best practice for using vaults within AWX. It seems that my current method isn't supported by AWS 17.0.1. Some suggestions were to encrypt each value separately which would be painful. Found this
post in Stackoverflow but its 3 years old.
So my questions:
- Are my current playbooks outside of AWX using best practice for vaults? Should the secrets all be in one encrypted file? Or should they be individually vaulted?
- How do I get past the missing vault password file error in AWX?
One other kind of off topic question: Is there a best practice in separating inventories from playbooks? Each of my playbook repos have their own inventory files with some duplication. In AWX, I was hoping to see a git repo as a source for inventory.
Thanks!