mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-18 23:01:14 +00:00
Move plugin directories
This commit is contained in:
@@ -24,7 +24,7 @@ import os.path
|
||||
from ansible.color import stringc
|
||||
|
||||
dirname = os.path.dirname(__file__)
|
||||
callbacks = utils.import_plugins(os.path.join(dirname, 'callbacks'))
|
||||
callbacks = utils.import_plugins(os.path.join(dirname, 'callback_plugins'))
|
||||
callbacks = [ c.CallbackModule() for c in callbacks.values() ]
|
||||
|
||||
cowsay = None
|
||||
|
||||
@@ -23,7 +23,7 @@ from ansible.errors import AnsibleError
|
||||
|
||||
import os.path
|
||||
dirname = os.path.dirname(__file__)
|
||||
modules = utils.import_plugins(os.path.join(dirname, 'connections'))
|
||||
modules = utils.import_plugins(os.path.join(dirname, 'connection_plugins'))
|
||||
|
||||
# rename this module
|
||||
modules['paramiko'] = modules['paramiko_ssh']
|
||||
|
||||
Reference in New Issue
Block a user