From f6127f924597c9fcc7da6435e14524253db64d64 Mon Sep 17 00:00:00 2001 From: Rodolfo Carvalho Date: Fri, 16 Jun 2017 17:12:34 +0200 Subject: PAPR: define openshift_image_tag via command line This is a temporary workaround to make sure the action plugin in the openshift_health_checker role can read the correct value specified in the OPENSHIFT_IMAGE_TAG environment variable, instead of a jinja2 template expression. --- .papr.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to '.papr.sh') diff --git a/.papr.sh b/.papr.sh index fe0b97b68..decca625f 100755 --- a/.papr.sh +++ b/.papr.sh @@ -18,7 +18,9 @@ upload_journals() { trap upload_journals ERR # run the actual installer -ansible-playbook -vvv -i .papr.inventory playbooks/byo/config.yml +# FIXME: override openshift_image_tag defined in the inventory until +# https://github.com/openshift/openshift-ansible/issues/4478 is fixed. +ansible-playbook -vvv -i .papr.inventory playbooks/byo/config.yml -e "openshift_image_tag=$OPENSHIFT_IMAGE_TAG" # run a small subset of origin conformance tests to sanity # check the cluster NB: we run it on the master since we may -- cgit v1.2.1