mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
added debug info when skipping undef
This commit is contained in:
parent
be821845e2
commit
e010fcf7e1
1 changed files with 1 additions and 1 deletions
|
@ -705,7 +705,7 @@ class Templar:
|
|||
if fail_on_undefined:
|
||||
raise AnsibleUndefinedVariable(e)
|
||||
else:
|
||||
# TODO: return warning about undefined var
|
||||
display.debug("Ignoring undefined failure: %s" % to_text(e))
|
||||
return data
|
||||
|
||||
# for backwards compatibility in case anyone is using old private method directly
|
||||
|
|
Loading…
Reference in a new issue