Commit 85abd610 by Toshio Kuratomi

Add some more info to docstring

parent d923d05a
...@@ -217,7 +217,13 @@ class DataLoader(): ...@@ -217,7 +217,13 @@ class DataLoader():
return os.path.abspath(os.path.join(self._basedir, given)) return os.path.abspath(os.path.join(self._basedir, given))
def path_dwim_relative(self, path, dirname, source): 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 = [] search = []
isrole = False isrole = False
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment