From ce059855fbb35fd0384e92324af0f6b2b1a1ded4 Mon Sep 17 00:00:00 2001 From: Jimmy McCrory Date: Wed, 15 Mar 2017 13:46:38 -0700 Subject: [PATCH] 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 --- scripts/bootstrap-ansible.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/bootstrap-ansible.sh b/scripts/bootstrap-ansible.sh index d6b8c773ec..94a400a445 100755 --- a/scripts/bootstrap-ansible.sh +++ b/scripts/bootstrap-ansible.sh @@ -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"