Merge pull request #507 from jhoekx/convention-library-path

Add ./library to module search path.
pull/603/head
Michael DeHaan 13 years ago
commit 8468e2255b

@ -114,6 +114,8 @@ class PlayBook(object):
self.basedir = os.path.dirname(playbook) self.basedir = os.path.dirname(playbook)
self.playbook = utils.parse_yaml_from_file(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): def run(self):

Loading…
Cancel
Save