summaryrefslogtreecommitdiff
path: root/salt/openbook
diff options
context:
space:
mode:
Diffstat (limited to 'salt/openbook')
-rw-r--r--salt/openbook/ansible/files/deploy-dev-env.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/salt/openbook/ansible/files/deploy-dev-env.sh b/salt/openbook/ansible/files/deploy-dev-env.sh
new file mode 100644
index 0000000..af5b87e
--- /dev/null
+++ b/salt/openbook/ansible/files/deploy-dev-env.sh
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+buildroot="$(pwd)"
+
+pushd ${buildroot}/conf
+cp ${HOME}/env.yaml.openbook.example env.yaml.openbook
+rm -f env.yaml
+ln -s env.yaml.openbook env.yaml
+popd
+ansible-playbook -i inventory_json.rb openbook_installer.yaml