mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00:00
Move plugin option settings. (#44774)
* Move plugin option settings. * Add default value and clear after use.
This commit is contained in:
@@ -105,10 +105,6 @@ class ConnectionProcess(object):
|
||||
self.connection.set_options(var_options=variables)
|
||||
self.connection._connect()
|
||||
|
||||
# implementation plugins are updated while connection initialization
|
||||
if hasattr(self.connection, 'set_implementation_plugin_options'):
|
||||
self.connection.set_implementation_plugin_options(var_options=variables)
|
||||
|
||||
self.connection._socket_path = self.socket_path
|
||||
self.srv.register(self.connection)
|
||||
messages.extend(sys.stdout.getvalue().splitlines())
|
||||
|
||||
Reference in New Issue
Block a user