@ -202,5 +202,5 @@ class LookupModule(LookupBase):
ifskip:
ifskip:
return[]
return[]
else:
else:
return [None]
raise AnsibleLookupError("No file was found when using with_first_found. Use the 'skip: true' option to allow this task to be skipped if no files are found")