Merge pull request #6902 from ryanpetrello/fix-3508

Support AWX_TASK_ENV injection in task and notification invocations.
This commit is contained in:
Ryan Petrello
2017-07-06 14:01:13 -04:00
committed by GitHub
7 changed files with 136 additions and 3 deletions

View File

@@ -210,6 +210,17 @@ register(
category_slug='jobs',
)
register(
'AWX_TASK_ENV',
field_class=fields.DictField,
default={},
label=_('Extra Environment Variables'),
help_text=_('Additional environment variables set for playbook runs, inventory updates, project updates, and notification sending.'),
category=_('Jobs'),
category_slug='jobs',
placeholder={'HTTP_PROXY': 'myproxy.local:8080'},
)
register(
'STDOUT_MAX_BYTES_DISPLAY',
field_class=fields.IntegerField,