add support for callback_plugins/ relative to playbook

This commit is contained in:
Serge van Ginderachter 2013-06-05 23:25:24 +02:00
parent 1fd863cf5d
commit 2a7f9df109
3 changed files with 9 additions and 2 deletions

View file

@ -28,7 +28,8 @@ PLUGIN_PATH_CACHE = {}
_basedirs = []
def push_basedir(basedir):
_basedirs.insert(0, basedir)
if basedir not in _basedirs:
_basedirs.insert(0, basedir)
class PluginLoader(object):