This commit is contained in:
Niko Kurtti
2015-03-24 12:18:13 +02:00
commit 34553aa6f4
48 changed files with 1278 additions and 0 deletions

4
run_ansible Executable file
View File

@@ -0,0 +1,4 @@
#!/bin/sh
ANSIBLE_SSH_ARGS="-o ForwardAgent=yes"
PW=`ejson --keydir=$HOME/.ejson decrypt secrets/passwords.ejson|grep ansible_vault|cut -d'"' -f4`
echo $PW|ansible-playbook applications.yml -i hosts --vault-password-file=/bin/cat