After automating pulling the secrets from AWS, I wanted to use Ansible Vault to lock it up, and so I first tested this manually. Is there a way to do this through ansible playbooks. We need to automate it so we don't have to constantly lock and unlock it when we pull a new secret.
I found a nifty website that is exactly what I need. It made use of my second route which was to use a python script to run the vault and place this within the playbook.