From cd3686257ad8a1466f39e232684d006f76125b0c Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sun, 8 Dec 2019 17:03:17 +0000 Subject: [PATCH] Add a master deploy script --- scripts/ansible.sh | 2 ++ scripts/deploy.sh | 5 +++++ 2 files changed, 7 insertions(+) create mode 100755 scripts/deploy.sh diff --git a/scripts/ansible.sh b/scripts/ansible.sh index 74e068a..0f1838f 100755 --- a/scripts/ansible.sh +++ b/scripts/ansible.sh @@ -4,4 +4,6 @@ set -e PATH=env/bin:${PATH} +set -x + ansible-playbook -i ansible/hosts ansible/main.yml -k -K --vault-password-file ansible/.vault_pass diff --git a/scripts/deploy.sh b/scripts/deploy.sh new file mode 100755 index 0000000..3ab4df1 --- /dev/null +++ b/scripts/deploy.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash + +set -ex + +./scripts/ansible.sh