mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-19 07:11:25 +00:00
Merge pull request #507 from jhoekx/convention-library-path
Add ./library to module search path.
This commit is contained in:
@@ -114,6 +114,8 @@ class PlayBook(object):
|
||||
self.basedir = os.path.dirname(playbook)
|
||||
self.playbook = utils.parse_yaml_from_file(playbook)
|
||||
|
||||
self.module_path = self.module_path + os.pathsep + os.path.join(self.basedir, "library")
|
||||
|
||||
# *****************************************************
|
||||
|
||||
def run(self):
|
||||
|
||||
Reference in New Issue
Block a user