mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 22:33:25 +00:00
added debug info when skipping undef
This commit is contained in:
@@ -705,7 +705,7 @@ class Templar:
|
|||||||
if fail_on_undefined:
|
if fail_on_undefined:
|
||||||
raise AnsibleUndefinedVariable(e)
|
raise AnsibleUndefinedVariable(e)
|
||||||
else:
|
else:
|
||||||
# TODO: return warning about undefined var
|
display.debug("Ignoring undefined failure: %s" % to_text(e))
|
||||||
return data
|
return data
|
||||||
|
|
||||||
# for backwards compatibility in case anyone is using old private method directly
|
# for backwards compatibility in case anyone is using old private method directly
|
||||||
|
|||||||
Reference in New Issue
Block a user