From 85721c5bb09028974a724a43849f7291bc5f719d Mon Sep 17 00:00:00 2001 From: Carlos Konstanski Date: Fri, 8 Dec 2017 07:29:43 -0700 Subject: debug support integrated into jenkins Issue: IS-44 --- salt/openbook/ansible/files/ob-ctl.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'salt/openbook/ansible/files/ob-ctl.sh') 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 -- cgit v1.3