dotfiles/.bin/voc-ansible

9 lines
207 B
Bash
Executable file

#!/bin/bash
cd ~/git/cm/ansible/
source ../.venv/bin/activate
export KEEPASS_PW=$(pass show voc/keepass)
./ansible-playbook-keepass --become --become-method=sudo --user voc --inventory event $@ site.yml