From 85abd61001ffa59f92db56080f04fa4287460fe0 Mon Sep 17 00:00:00 2001 From: Toshio Kuratomi Date: Tue, 13 Oct 2015 08:16:34 -0700 Subject: [PATCH] Add some more info to docstring --- lib/ansible/parsing/__init__.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/lib/ansible/parsing/__init__.py b/lib/ansible/parsing/__init__.py index 8d78e013e1..305b018be7 100644 --- a/lib/ansible/parsing/__init__.py +++ b/lib/ansible/parsing/__init__.py @@ -217,7 +217,13 @@ class DataLoader(): return os.path.abspath(os.path.join(self._basedir, given)) def path_dwim_relative(self, path, dirname, source): - ''' find one file in a role/playbook dirs with/without dirname subdir ''' + ''' + find one file in either a role or playbook dir with or without + explicitly named dirname subdirs + + Used in action plugins and lookups to find supplemental files that + could be in either place. + ''' search = [] isrole = False