From e73ab29c274e68ac62796b82b2a618fc777ac5c4 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Fri, 29 Jun 2018 01:55:57 +0000 Subject: [PATCH] also set tmp for copr --- inventory/group_vars/copr-front | 4 ++++ inventory/group_vars/copr-front-stg | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/inventory/group_vars/copr-front b/inventory/group_vars/copr-front index 7c9a288117..f7c7d687e8 100644 --- a/inventory/group_vars/copr-front +++ b/inventory/group_vars/copr-front @@ -12,3 +12,7 @@ csi_purpose: Provide a publicly accessible frontend for 3rd party packages (copr csi_relationship: | - This host provides the frontend part of copr only. - It's the point of contact between end users and the copr build system (backend, package singer) + +# We set this here because we have a task that uses become_user where the user does not +# have perms to write to their homedir. So we cannot use the default ~user/.ansible tmpdir. +ansible_remote_tmp: /tmp/.ansible-${USER}/tmp diff --git a/inventory/group_vars/copr-front-stg b/inventory/group_vars/copr-front-stg index 27a5e4194b..f1d01063af 100644 --- a/inventory/group_vars/copr-front-stg +++ b/inventory/group_vars/copr-front-stg @@ -7,3 +7,7 @@ csi_purpose: Provide the testing environment of copr's frontend csi_relationship: This host is the testing environment for copr's web interface copr_mbs_cli_login: Y29wcg==##vtvvikhcjncwkfkdcssv + +# We set this here because we have a task that uses become_user where the user does not +# have perms to write to their homedir. So we cannot use the default ~user/.ansible tmpdir. +ansible_remote_tmp: /tmp/.ansible-${USER}/tmp