mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
parent
e166f71fcc
commit
b79960e13b
1 changed files with 2 additions and 0 deletions
|
@ -170,6 +170,8 @@ def _varFind(basedir, text, vars, lookup_fatal, depth=0):
|
|||
except errors.AnsibleError:
|
||||
if not lookup_fatal:
|
||||
replacement = None
|
||||
else:
|
||||
raise
|
||||
else:
|
||||
replacement = None
|
||||
return {'replacement': replacement, 'start': start, 'end': end}
|
||||
|
|
Loading…
Reference in a new issue