mirror of
https://github.com/koodiklinikka/playbooks.git
synced 2026-03-22 08:07:14 +00:00
initial
This commit is contained in:
4
run_ansible
Executable file
4
run_ansible
Executable 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
|
||||
Reference in New Issue
Block a user