Cap cmd2 to < 0.9.0
cmd2>=0.9.0 now require python3.4 or greater. We install ansible under python2 (for now) so we need to cap the cmd2 install to make the ansible installation function. Upstream bug at https://github.com/python-cmd2/cmd2/issues/421 Change-Id: I5ec830e092646a3626cacea264de9ad81fcdd124
This commit is contained in:
parent
5fedff7ba6
commit
63e5e1dd96
|
@ -477,7 +477,7 @@ virtualenv /tmp/ansible
|
|||
# easy_install. Hope is this is generally more reliable.
|
||||
/tmp/ansible/bin/pip install pbr
|
||||
/tmp/ansible/bin/pip install ansible==$ANSIBLE_VERSION \
|
||||
devstack-tools==$DSTOOLS_VERSION ara
|
||||
devstack-tools==$DSTOOLS_VERSION ara 'cmd2<0.9.0'
|
||||
export ANSIBLE=/tmp/ansible/bin/ansible
|
||||
export ANSIBLE_PLAYBOOK=/tmp/ansible/bin/ansible-playbook
|
||||
export ANSIBLE_CONFIG="$WORKSPACE/ansible.cfg"
|
||||
|
|
Loading…
Reference in New Issue