mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-24 19:31:26 -07:00
Fix the basic templating system such that when the template ends in '$', life continues as normal.
This commit is contained in:
parent
6b8448051f
commit
6fa1a49037
4 changed files with 11 additions and 7 deletions
|
@ -246,6 +246,8 @@ def _varFind(text):
|
|||
if start == -1:
|
||||
return None
|
||||
var_start = start + 1
|
||||
if var_start >= len(text):
|
||||
return None
|
||||
if text[var_start] == '{':
|
||||
is_complex = True
|
||||
brace_level = 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue