mirror of
https://github.com/ansible/awx.git
synced 2026-05-18 06:47:41 -02:30
add additional field validation to AWX_TASK_ENV
AWX_TASK_ENV should only allow simple key-value assignment (since we're using it to set environment variables). see: #3508
This commit is contained in:
@@ -227,7 +227,7 @@ register(
|
||||
|
||||
register(
|
||||
'AWX_TASK_ENV',
|
||||
field_class=fields.DictField,
|
||||
field_class=fields.KeyValueField,
|
||||
default={},
|
||||
label=_('Extra Environment Variables'),
|
||||
help_text=_('Additional environment variables set for playbook runs, inventory updates, project updates, and notification sending.'),
|
||||
|
||||
Reference in New Issue
Block a user