From 134753236a1115903fb72e6197f212af91ff4469 Mon Sep 17 00:00:00 2001 From: Jonathan Rosser Date: Sat, 22 Feb 2020 20:56:07 +0000 Subject: [PATCH] Use /tmp for ansible temporary directory This defaults to $HOME/.ansible/tmp for the 'remote tmp dir' , and for functional tests ~zuul does not exist inside containers. Change-Id: If9b414c1d9e43b8183c68c7c3a6dff130cfcab34 --- test-ansible-functional.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/test-ansible-functional.sh b/test-ansible-functional.sh index 59e8d166..12fc9257 100755 --- a/test-ansible-functional.sh +++ b/test-ansible-functional.sh @@ -34,6 +34,7 @@ export TESTING_HOME=${TESTING_HOME:-$HOME} export WORKING_DIR=${WORKING_DIR:-$(pwd)} export ROLE_NAME=${ROLE_NAME:-''} +export ANSIBLE_REMOTE_TEMP="/tmp" export ANSIBLE_OVERRIDES=${ANSIBLE_OVERRIDES:-$WORKING_DIR/tests/$ROLE_NAME-overrides.yml} export ANSIBLE_PARAMETERS=${ANSIBLE_PARAMETERS:-""} export TEST_PLAYBOOK=${TEST_PLAYBOOK:-$WORKING_DIR/tests/test.yml}