From 31e3edb18fd15d67579c0a638b62aa74b5c42676 Mon Sep 17 00:00:00 2001 From: Jeffrey Zhang Date: Mon, 16 Jan 2017 22:18:09 +0800 Subject: [PATCH] Need install ansible in source case otherwise, the ansible required python packages is not installed. Change-Id: Id8af51d3d0aaf0c44cef1bda734a32232cad92cf --- scripts/install-ansible-source.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/install-ansible-source.sh b/scripts/install-ansible-source.sh index cc3c30590..11b0857e8 100644 --- a/scripts/install-ansible-source.sh +++ b/scripts/install-ansible-source.sh @@ -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"