mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
@@ -53,7 +53,7 @@ class LookupModule(LookupBase):
|
|||||||
|
|
||||||
for path in (basedir_path, relative_path, playbook_path):
|
for path in (basedir_path, relative_path, playbook_path):
|
||||||
try:
|
try:
|
||||||
contents = self._loader._get_file_contents(path)
|
contents, show_data = self._loader._get_file_contents(path)
|
||||||
ret.append(contents.rstrip())
|
ret.append(contents.rstrip())
|
||||||
break
|
break
|
||||||
except AnsibleParserError:
|
except AnsibleParserError:
|
||||||
|
|||||||
Reference in New Issue
Block a user