Work in progress on empheral host callback.

This commit is contained in:
Chris Church
2013-07-02 11:50:03 -04:00
parent e309c7707d
commit 914e586150
8 changed files with 71 additions and 13 deletions

View File

@@ -88,7 +88,7 @@ class RunJob(Task):
if hasattr(settings, 'ANSIBLE_TRANSPORT'):
env['ANSIBLE_TRANSPORT'] = getattr(settings, 'ANSIBLE_TRANSPORT')
env['REST_API_URL'] = settings.INTERNAL_API_URL
env['REST_API_TOKEN'] = job.callback_auth_token or ''
env['REST_API_TOKEN'] = job.task_auth_token or ''
env['ANSIBLE_NOCOLOR'] = '1' # Prevent output of escape sequences.
return env