1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Merge pull request #11170 from dguerri/devel

Fix lookup() plugin
This commit is contained in:
James Cammarata 2015-06-04 16:05:06 -04:00
commit a4ebee4b16

View file

@ -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: