Update Ansible to 2.3.0.0

The default ANSIBLE_ROLE_FETCH_MODE environment variable has been
changed to 'git-clone' to avoid an upstream Ansible bug[0] and because
it's generally more useful for managing roles.

[0] https://github.com/ansible/ansible/issues/22572

Change-Id: I3b2a7e15c5b3239f9b477400ee8620fe35898b16
This commit is contained in:
Jimmy McCrory 2017-03-15 13:46:38 -07:00
parent 9b5bd3ddab
commit ce059855fb

View File

@ -22,13 +22,13 @@ set -e -u -x
## Vars ----------------------------------------------------------------------
export HTTP_PROXY=${HTTP_PROXY:-""}
export HTTPS_PROXY=${HTTPS_PROXY:-""}
export ANSIBLE_PACKAGE=${ANSIBLE_PACKAGE:-"ansible==2.2.2.0"}
export ANSIBLE_PACKAGE=${ANSIBLE_PACKAGE:-"ansible==2.3.0.0"}
export ANSIBLE_ROLE_FILE=${ANSIBLE_ROLE_FILE:-"ansible-role-requirements.yml"}
export SSH_DIR=${SSH_DIR:-"/root/.ssh"}
export DEBIAN_FRONTEND=${DEBIAN_FRONTEND:-"noninteractive"}
# Set the role fetch mode to any option [galaxy, git-clone]
export ANSIBLE_ROLE_FETCH_MODE=${ANSIBLE_ROLE_FETCH_MODE:-galaxy}
export ANSIBLE_ROLE_FETCH_MODE=${ANSIBLE_ROLE_FETCH_MODE:-git-clone}
# virtualenv vars
VIRTUALENV_OPTIONS="--always-copy"