Remove duplicated call to ansible-playbook.

After merging [0], it seems that an extra
command to run the CI job via ansible-playbook
was left. An error was displayed as the left
command didn't include the playbook to run.

[0] https://review.openstack.org/#/c/525765/9

Change-Id: Ibb9eb78c8e4ef72da820ac64f755176356f9ab3c
Closes-Bug: #1750518
This commit is contained in:
Jose Luis Franco Arza 2018-02-20 10:34:38 +01:00
parent 3c93795b9c
commit 82eb596827
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=$?