From 56a5f66e75cda16d37925a27a8a4c2fb4574d804 Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Thu, 11 Jul 2013 12:02:09 -0400 Subject: [PATCH] Celery needs to have HOME set --- awx/main/tasks.py | 1 + 1 file changed, 1 insertion(+) diff --git a/awx/main/tasks.py b/awx/main/tasks.py index 6c72fdaf40..226554da45 100644 --- a/awx/main/tasks.py +++ b/awx/main/tasks.py @@ -94,6 +94,7 @@ class RunJob(Task): env['ANSIBLE_HOST_KEY_CHECKING'] = 'False' # RHEL has too old of an SSH so ansible will select paramiko and this is VERY slow env['ANSIBLE_PARAMIKO_RECORD_HOST_KEYS'] = 'False' + env['HOME'] = '/var/lib/awx' return env def build_args(self, job, **kwargs):