mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Add some more info to docstring
This commit is contained in:
parent
d923d05a33
commit
85abd61001
1 changed files with 7 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue