summaryrefslogtreecommitdiff
path: root/lib/ansible/vars/hostvars.py
diff options
context:
space:
mode:
authorJames Cammarata <jimi@sngx.net>2015-07-10 01:53:59 -0400
committerJames Cammarata <jimi@sngx.net>2015-07-10 01:53:59 -0400
commitb520d5bc6002e8df9bcacaf58140f02d69977668 (patch)
tree169fc83ab65a7532f1f45c7380b2dcb99b3c4b77 /lib/ansible/vars/hostvars.py
parenta9712bb0fb5acf0e501037eca944a5eaeadf96cf (diff)
downloadansible-b520d5bc6002e8df9bcacaf58140f02d69977668.tar.gz
Lots of fixes for integration test bugs
Diffstat (limited to 'lib/ansible/vars/hostvars.py')
-rw-r--r--lib/ansible/vars/hostvars.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ansible/vars/hostvars.py b/lib/ansible/vars/hostvars.py
index 166bdbe257..9d2c386489 100644
--- a/lib/ansible/vars/hostvars.py
+++ b/lib/ansible/vars/hostvars.py
@@ -39,6 +39,6 @@ class HostVars(dict):
host = self._inventory.get_host(host_name)
result = self._vars_manager.get_vars(loader=self._loader, play=self._play, host=host)
templar = Templar(variables=result, loader=self._loader)
- self._lookup[host_name] = templar.template(result)
+ self._lookup[host_name] = templar.template(result, fail_on_undefined=False)
return self._lookup[host_name]