diff --git a/lib/ansible/runner/lookup_plugins/first_found.py b/lib/ansible/runner/lookup_plugins/first_found.py index 95ce804aec..d3d53d0ff0 100644 --- a/lib/ansible/runner/lookup_plugins/first_found.py +++ b/lib/ansible/runner/lookup_plugins/first_found.py @@ -152,7 +152,7 @@ class LookupModule(object): else: for path in pathlist: for fn in filelist: - f = path + '/' + fn + os.path.join(path, fn) total_search.append(f) else: total_search = [term]