added debug info when skipping undef

pull/30767/merge
Brian Coca 7 years ago
parent be821845e2
commit e010fcf7e1

@ -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…
Cancel
Save