summaryrefslogtreecommitdiff
path: root/salt/openbook/ansible/files/ob-ctl.sh
diff options
context:
space:
mode:
authorCarlos Konstanski <ckonstanski@pippiandcarlos.com>2017-12-08 07:29:43 -0700
committerCarlos Konstanski <ckonstanski@pippiandcarlos.com>2017-12-08 07:29:43 -0700
commit85721c5bb09028974a724a43849f7291bc5f719d (patch)
treedc1b8ee2bc7516846f0f5556b23cc423324c26af /salt/openbook/ansible/files/ob-ctl.sh
parent2bc881db007a02995d0a09ed5d1303d00d120418 (diff)
debug support integrated into jenkins
Issue: IS-44
Diffstat (limited to 'salt/openbook/ansible/files/ob-ctl.sh')
-rw-r--r--salt/openbook/ansible/files/ob-ctl.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/salt/openbook/ansible/files/ob-ctl.sh b/salt/openbook/ansible/files/ob-ctl.sh
index 6a2a108..7e3a357 100644
--- a/salt/openbook/ansible/files/ob-ctl.sh
+++ b/salt/openbook/ansible/files/ob-ctl.sh
@@ -2,6 +2,7 @@
branch="${1}"
action="${2}"
+extra_args="${3}"
buildroot="$(pwd)"
pushd ${buildroot}/conf
@@ -10,5 +11,5 @@ rm -f env.yaml
ln -s env.yaml.openbook env.yaml
popd
pushd ${buildroot}
-ansible-playbook -i inventory_json_${branch}.rb -e "action=${action}" openbook_stop_start.yaml
+ansible-playbook -i inventory_json_${branch}.rb -e "action=${action} extra_args=${extra_args}" openbook_stop_start.yaml
popd