Fix dlrn build role

With last change of build-test-packages role it stopped to work,
commands in shell should be separated by commas when using >

Change-Id: Iccab84b0803b8dc257b6ca174490c3e4803a2f5d
This commit is contained in:
Sagi Shnaidman 2016-11-28 19:46:16 +02:00
parent 7097904948
commit fabe7a8e04
1 changed files with 3 additions and 3 deletions

View File

@ -35,10 +35,10 @@
- name: Run DLRN
shell: >
set +e
set +e;
source {{ ansible_user_dir }}/dlrn-venv/bin/activate;
while true; do
dlrn --config-file projects.ini --head-only --package-name {{ project_name_mapped.stdout }} --local --info-repo rdoinfo --dev
dlrn --config-file projects.ini --head-only --package-name {{ project_name_mapped.stdout }} --local --info-repo rdoinfo --dev;
if [ $? -eq 0 ]; then
# SUCCESS
break;
@ -48,7 +48,7 @@
elif [ $? -eq 2 ]; then
# RETRY
continue;
fi
fi;
# Unexpected DLRN return code
exit $?;
done;