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
This commit is contained in:
Jonathan Rosser 2020-02-22 20:56:07 +00:00 committed by Dmitriy Rabotyagov
parent 6e7544ede2
commit 134753236a

View File

@ -34,6 +34,7 @@ export TESTING_HOME=${TESTING_HOME:-$HOME}
export WORKING_DIR=${WORKING_DIR:-$(pwd)} export WORKING_DIR=${WORKING_DIR:-$(pwd)}
export ROLE_NAME=${ROLE_NAME:-''} export ROLE_NAME=${ROLE_NAME:-''}
export ANSIBLE_REMOTE_TEMP="/tmp"
export ANSIBLE_OVERRIDES=${ANSIBLE_OVERRIDES:-$WORKING_DIR/tests/$ROLE_NAME-overrides.yml} export ANSIBLE_OVERRIDES=${ANSIBLE_OVERRIDES:-$WORKING_DIR/tests/$ROLE_NAME-overrides.yml}
export ANSIBLE_PARAMETERS=${ANSIBLE_PARAMETERS:-""} export ANSIBLE_PARAMETERS=${ANSIBLE_PARAMETERS:-""}
export TEST_PLAYBOOK=${TEST_PLAYBOOK:-$WORKING_DIR/tests/test.yml} export TEST_PLAYBOOK=${TEST_PLAYBOOK:-$WORKING_DIR/tests/test.yml}