Install ansible without upper constraints

Ansible use jinja2 < 2.9, but requirements/upper-constraints.txt
requires jinja2===2.9.5. Installing ansible shouldn't use upper
constraints provides by OpenStack.

Change-Id: Ib37e8d06373a61959b41b8737085d5f001650e42
This commit is contained in:
Jeffrey Zhang 2017-02-12 17:11:43 +08:00 committed by Steven Dake
parent 5f3456bf39
commit 38813f8c74
1 changed files with 1 additions and 2 deletions

View File

@ -143,7 +143,7 @@ function setup_ansible {
mkdir /tmp/kolla
# TODO(SamYaple): Move to virtualenv
sudo -H pip install -U -c ${GIT_PROJECT_DIR}/requirements/upper-constraints.txt "ansible>=2" "docker-py>=1.6.0" "python-openstackclient" "python-neutronclient"
sudo -H pip install -U "ansible>=2" "docker-py>=1.6.0" "python-openstackclient" "python-neutronclient" "ara"
detect_distro
setup_inventory
@ -151,7 +151,6 @@ function setup_ansible {
# Record the running state of the environment as seen by the setup module
ansible all -i ${RAW_INVENTORY} -m setup > /tmp/logs/ansible/initial-setup
sudo pip install -c ${GIT_PROJECT_DIR}/requirements/upper-constraints.txt ara
sudo mkdir /etc/ansible
sudo tee /etc/ansible/ansible.cfg<<EOF
[defaults]