From 3ba58098258bedb5205752178a150be0c01902d4 Mon Sep 17 00:00:00 2001 From: Markos Chandras Date: Thu, 31 May 2018 17:15:49 +0100 Subject: [PATCH] scripts: bootstrap-ansible.sh: Bump SHA for Ansible 2.4 Ansible stable-2.4 branch contains a fix[1] for zypper which massively improves its performance when installing packages. It's beneficial to have that until we move to 2.5 in order to improve the gate times. [1] https://github.com/ansible/ansible/commit/608d30ba9b989b5474c8cd9b537eaeac9bafc544 Change-Id: Iad28b2943b7c3041fc800ff1b1a7f4aeca7a315a --- scripts/bootstrap-ansible.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/bootstrap-ansible.sh b/scripts/bootstrap-ansible.sh index f2db811e65..57a61bda92 100755 --- a/scripts/bootstrap-ansible.sh +++ b/scripts/bootstrap-ansible.sh @@ -22,7 +22,9 @@ set -e -u -x ## Vars ---------------------------------------------------------------------- export HTTP_PROXY=${HTTP_PROXY:-""} export HTTPS_PROXY=${HTTPS_PROXY:-""} -export ANSIBLE_PACKAGE=${ANSIBLE_PACKAGE:-"ansible==2.4.4.0"} +# The Ansible version used for testing +# HEAD of stable-2.4 as of 1st of June 2018 (contains a zypper optimization for installing packages) +export ANSIBLE_PACKAGE=${ANSIBLE_PACKAGE:-"git+https://github.com/ansible/ansible@eedb78a8ba88d11a8e2d6acf0e42f930912eb9f5"} export ANSIBLE_ROLE_FILE=${ANSIBLE_ROLE_FILE:-"ansible-role-requirements.yml"} export SSH_DIR=${SSH_DIR:-"/root/.ssh"} export DEBIAN_FRONTEND=${DEBIAN_FRONTEND:-"noninteractive"}