Merge "workaround for pyasn1 issues with pip"

This commit is contained in:
Jenkins 2017-07-27 16:48:21 +00:00 committed by Gerrit Code Review
commit c111fa5ba8
1 changed files with 1 additions and 0 deletions

View File

@ -274,6 +274,7 @@ if ! admin_node_command type ansible 2>&1 > /dev/null; then
with_retries admin_node_command -- sudo apt-get install -y ansible python-netaddr
elif [[ "$ANSIBLE_INSTALL_SOURCE" == "pip" ]]; then
with_retries admin_node_command -- sudo apt-get install -y python-netaddr libssl-dev python-pip
with_retries admin_node_command -- sudo easy_install --upgrade --user pyasn1
with_retries admin_node_command -- sudo pip install --upgrade ansible==$required_ansible_version
else
echo "ERROR: Unknown Ansible install source: ${ANSIBLE_INSTALL_SOURCE}"