Remove outdated FIXME; HostVars is imported and used below

This commit is contained in:
Abhijit Menon-Sen 2015-07-31 00:09:49 +05:30
parent 845784b572
commit 807079ec2f

View file

@ -63,9 +63,6 @@ class AnsibleJ2Vars:
return False return False
def __getitem__(self, varname): def __getitem__(self, varname):
# FIXME: are we still going to need HostVars?
#from ansible.runner import HostVars
if varname not in self._templar._available_variables: if varname not in self._templar._available_variables:
if varname in self._locals: if varname in self._locals:
return self._locals[varname] return self._locals[varname]