diff options
author | James Cammarata <jimi@sngx.net> | 2016-09-20 23:33:55 -0500 |
---|---|---|
committer | James Cammarata <jimi@sngx.net> | 2016-09-20 23:33:55 -0500 |
commit | e131ab83c8f4d1153b0b96da907f2549f86a209f (patch) | |
tree | 390a4fe82efe8effc2f8e7d8b1ea6e5c554367cd | |
parent | 24c9e047c38f2a707f787f0c196a4a489a24fe20 (diff) | |
download | ansible-dont_template_hostvars.tar.gz |
Don't template hostvarsdont_template_hostvars
-rw-r--r-- | lib/ansible/vars/hostvars.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/ansible/vars/hostvars.py b/lib/ansible/vars/hostvars.py index 1e2ac7e292..49bdd3968c 100644 --- a/lib/ansible/vars/hostvars.py +++ b/lib/ansible/vars/hostvars.py @@ -79,8 +79,9 @@ class HostVars(collections.Mapping): if sha1_hash in self._cached_result: result = self._cached_result[sha1_hash] else: - templar = Templar(variables=data, loader=self._loader) - result = templar.template(data, fail_on_undefined=False, static_vars=STATIC_VARS) + #templar = Templar(variables=data, loader=self._loader) + #result = templar.template(data, fail_on_undefined=False, static_vars=STATIC_VARS) + result = data self._cached_result[sha1_hash] = result return result |