Commit ee06eebe by Davide Guerri

Fix lookup() plugin

lookup() plugin is currently broken because _get_file_contents() now
returns a tuple: (contents, show_data).

This patch fix that issue.
parent f3f3fb7c
......@@ -53,7 +53,7 @@ class LookupModule(LookupBase):
for path in (basedir_path, relative_path, playbook_path):
try:
contents = self._loader._get_file_contents(path)
contents, show_data = self._loader._get_file_contents(path)
ret.append(contents.rstrip())
break
except AnsibleParserError:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment