From 7eeab168bccefe3f2c768839ead5472ea30b54ad Mon Sep 17 00:00:00 2001 From: Serge van Ginderachter Date: Mon, 13 May 2013 13:48:56 +0200 Subject: [PATCH] bug fix in first_found search path assembly --- lib/ansible/runner/lookup_plugins/first_found.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/runner/lookup_plugins/first_found.py b/lib/ansible/runner/lookup_plugins/first_found.py index d3d53d0ff00..8f602567159 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: - os.path.join(path, fn) + f = os.path.join(path, fn) total_search.append(f) else: total_search = [term]