From e010fcf7e12a2ec2ff561235d036052198ff174a Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Fri, 27 Oct 2017 12:15:44 -0400 Subject: [PATCH] added debug info when skipping undef --- lib/ansible/template/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/template/__init__.py b/lib/ansible/template/__init__.py index 141531051ab..0894022fbb4 100644 --- a/lib/ansible/template/__init__.py +++ b/lib/ansible/template/__init__.py @@ -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