mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 12:50:22 -07:00
Merge pull request #362 from jhoekx/uppercase-vars
Allow camelCase variables in varReplace.
This commit is contained in:
commit
36639186e0
2 changed files with 11 additions and 1 deletions
|
@ -243,7 +243,7 @@ def varReplace(raw, vars):
|
|||
|
||||
# Determine replacement value (if unknown variable then preserve
|
||||
# original)
|
||||
varname = m.group(2).lower()
|
||||
varname = m.group(2)
|
||||
|
||||
replacement = unicode(varLookup(varname, vars) or m.group())
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue