summaryrefslogtreecommitdiffstats
path: root/xci/config/env-vars
diff options
context:
space:
mode:
authorMarkos Chandras <mchandras@suse.de>2018-03-14 07:57:05 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-03-14 07:57:05 +0000
commit2c11cf6509eafafe80fa50657417b19a4458915e (patch)
treec570f1ece49f112a3ab69d730e8571b2e674031d /xci/config/env-vars
parent387731e0a0aa9b2a2580471a5e0c98ec821911d4 (diff)
parentf4e66eb465315881c3934de8e82396bc3d048700 (diff)
Merge "xci: config: evn-vars: Dynamically determine the Ansible version"
Diffstat (limited to 'xci/config/env-vars')
-rwxr-xr-xxci/config/env-vars2
1 files changed, 1 insertions, 1 deletions
diff --git a/xci/config/env-vars b/xci/config/env-vars
index 914224ca..f72a0240 100755
--- a/xci/config/env-vars
+++ b/xci/config/env-vars
@@ -36,7 +36,7 @@ export LOG_PATH=${LOG_PATH:-${XCI_PATH}/xci/logs}
# This currently matches to OSA Ansible version but it doesn't really
# matter since bifrost and OSA will use the Ansible version they need.
# Overall, it's better to use what OSA supports so we can use new features.
-export XCI_ANSIBLE_PIP_VERSION=2.3.2.0
+export XCI_ANSIBLE_PIP_VERSION=${XCI_ANSIBLE_PIP_VERSION:-$(curl -s https://raw.githubusercontent.com/openstack/openstack-ansible/${OPENSTACK_OSA_VERSION}/scripts/bootstrap-ansible.sh | grep ansible== | sed -n "s/.*ansible==\([0-9.]*\).*/\1/p")}
export ANSIBLE_HOST_KEY_CHECKING=False
# subject of the certificate
export XCI_SSL_SUBJECT=${XCI_SSL_SUBJECT:-"/C=US/ST=California/L=San Francisco/O=IT/CN=xci.releng.opnfv.org"}