Need install ansible in source case

otherwise, the ansible required python packages is not installed.

Change-Id: Id8af51d3d0aaf0c44cef1bda734a32232cad92cf
This commit is contained in:
Jeffrey Zhang 2017-01-16 22:18:09 +08:00
parent ca440e6f53
commit 31e3edb18f

View File

@ -52,8 +52,9 @@ check_get_module `pwd`/lib/ansible/modules/extras/cloud/openstack/os_ironic_insp
check_get_module `pwd`/lib/ansible/modules/extras/cloud/openstack/os_keystone_service.py \
https://raw.githubusercontent.com/ansible/ansible-modules-extras/stable-2.2/cloud/openstack/os_keystone_service.py
sudo -H -E ${PIP} install --upgrade ${ANSIBLE_INSTALL_ROOT}/ansible
if [ -n "${VENV-}" ]; then
sudo -H -E ${PIP} install --upgrade ${ANSIBLE_INSTALL_ROOT}/ansible
echo
echo "To use bifrost, do"