Do not source openstack-ansible.rc when pulling roles

Maybe there are variables that are set that should be ignored
during the bootstrap. This ensures the environment is clean and
working as expected from a clean ansible.

Change-Id: I1065f7b8e5d84de02252f050e37ba2f1c523770b
Closes-Bug: #1707967
This commit is contained in:
Jean-Philippe Evrard 2017-10-16 13:48:04 +00:00
parent d014b83b89
commit a27be7f409

View File

@ -282,7 +282,7 @@ if [ -f "${ANSIBLE_ROLE_FILE}" ]; then
--force
elif [[ "${ANSIBLE_ROLE_FETCH_MODE}" == 'git-clone' ]];then
pushd tests
ansible-playbook get-ansible-role-requirements.yml \
/opt/ansible-runtime/bin/ansible-playbook get-ansible-role-requirements.yml \
-i ${OSA_CLONE_DIR}/tests/test-inventory.ini \
-e role_file="${ANSIBLE_ROLE_FILE}" \
-vvv