Pin ansible to <2.4 to make ara work in gates

ARA does not work yet with ansible 2.4
ARA has pinned to lower version than 2.4
https://review.openstack.org/#/c/500651/

Change-Id: Idfe1e7ad46efac965a22b4f7fa833babf22ba375
This commit is contained in:
Eduardo Gonzalez 2017-09-19 08:13:46 +01:00
parent bc52005ac0
commit da9d2c3383

View File

@ -148,12 +148,11 @@ function setup_ansible {
mkdir /tmp/kolla mkdir /tmp/kolla
# TODO(SamYaple): Move to virtualenv # TODO(SamYaple): Move to virtualenv
sudo -H pip install -U "ansible>=2" "docker>=2.0.0" "python-openstackclient" "python-neutronclient" sudo -H pip install -U "ansible>=2,<2.4" "docker>=2.0.0" "python-openstackclient" "python-neutronclient" "ara"
detect_distro detect_distro
setup_inventory setup_inventory
sudo -H pip install ara
sudo mkdir /etc/ansible sudo mkdir /etc/ansible
sudo tee /etc/ansible/ansible.cfg<<EOF sudo tee /etc/ansible/ansible.cfg<<EOF
[defaults] [defaults]