mirror of
https://github.com/ansible/awx.git
synced 2026-05-08 09:57:35 -02:30
mark all unsafe launch-time extra vars as !unsafe
see: https://github.com/ansible/tower/issues/1338 see: https://bugzilla.redhat.com/show_bug.cgi?id=1565865
This commit is contained in:
@@ -132,6 +132,15 @@ register(
|
||||
required=False,
|
||||
)
|
||||
|
||||
register(
|
||||
'ALLOW_JINJA_IN_JOB_TEMPLATE_EXTRA_VARS',
|
||||
field_class=fields.BooleanField,
|
||||
label=_('Allow Jinja template execution in Job Template extra vars'),
|
||||
help_text=_('Ansible allows variable substitution and templating via the Jinja2 templating language for a variety of arguments (such as --extra-vars); enabling this flag allows arbitrary Jinja templates to be used on extra vars defined in Job Templates.'), # noqa
|
||||
category=_('Jobs'),
|
||||
category_slug='jobs',
|
||||
)
|
||||
|
||||
register(
|
||||
'AWX_PROOT_ENABLED',
|
||||
field_class=fields.BooleanField,
|
||||
|
||||
Reference in New Issue
Block a user