mirror of
https://github.com/ansible/awx.git
synced 2026-01-14 11:20:39 -03:30
Expand pattern to support use of Jinja2 block delimiters
This commit is contained in:
parent
ad4e257fdb
commit
51e244e183
@ -790,7 +790,7 @@ class CredentialTypeInjectorField(JSONSchemaField):
|
||||
'extra_vars': {
|
||||
'type': 'object',
|
||||
'patternProperties': {
|
||||
r'^(?:(?:{{[^{}]*?}})|(?:[a-zA-Z_]+[a-zA-Z0-9_]*)+)+$': {"anyOf": [{'type': 'string'}, {'$ref': '#/properties/extra_vars'}]}
|
||||
r'^(?:(?:{(?:{|%)[^{}]*?(?:%|})})|(?:[a-zA-Z_]+[a-zA-Z0-9_]*)+)+$': {"anyOf": [{'type': 'string'}, {'$ref': '#/properties/extra_vars'}]}
|
||||
},
|
||||
'additionalProperties': False,
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user