Merge "Remove duplicated call to ansible-playbook."

This commit is contained in:
Zuul 2018-02-20 16:44:10 +00:00 committed by Gerrit Code Review
commit 95adbfd9b0
1 changed files with 1 additions and 3 deletions

View File

@ -88,11 +88,9 @@ source $OOOQ_DIR/ansible_ssh_env.sh
[[ -n ${STATS_OOOQ:-''} ]] && export STATS_OOOQ=$(( $(date +%s) - STATS_OOOQ ))
run_with_timeout $START_JOB_TIME $QUICKSTART_INSTALL_CMD --extra-vars ci_job_end_time=$(( START_JOB_TIME + REMAINING_TIME*60 )) \
2>&1 | tee $LOGS_DIR/quickstart_install.log && exit_value=0 || exit_value=$?
for playbook in $PLAYBOOKS; do
run_with_timeout $START_JOB_TIME $QUICKSTART_INSTALL_CMD \
--extra-vars ci_job_end_time=$(( START_JOB_TIME + REMAINING_TIME*60 )) \
$LOCAL_WORKING_DIR/playbooks/$playbook \
2>&1 | tee $LOGS_DIR/quickstart_install.log && exit_value=0 || exit_value=$?