diff options
Diffstat (limited to 'salt/openbook/ansible/files/ob-ctl.sh')
| -rw-r--r-- | salt/openbook/ansible/files/ob-ctl.sh | 3 |
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 |
