Enable verbose logging when fetching roles via git-clone

In order to troubleshoot why the periodic jobs are failing
due to a missing opendaylight role (which only exists in
master), verbose logging is implemented when executing
the role fetch via git so that we can see zuul-cloner's
detailed output.

Change-Id: I8a27240914a9154f4c94c50c925906432532c2d0
(cherry picked from commit 3407125b5ada1c1649c568653a778e3a4a75b1f9)
This commit is contained in:
Jesse Pretorius 2017-08-29 13:25:59 +01:00 committed by Jesse Pretorius (odyssey4me)
parent 3578c044af
commit 22e5675965

View File

@ -268,7 +268,8 @@ if [ -f "${ANSIBLE_ROLE_FILE}" ]; then
pushd tests
ansible-playbook get-ansible-role-requirements.yml \
-i ${OSA_CLONE_DIR}/tests/test-inventory.ini \
-e role_file="${ANSIBLE_ROLE_FILE}"
-e role_file="${ANSIBLE_ROLE_FILE}" \
-vvv
popd
else
echo "Please set the ANSIBLE_ROLE_FETCH_MODE to either of the following options ['galaxy', 'git-clone']"