|
|
@ -378,11 +378,10 @@ class ActionModuleMixin(ansible.plugins.action.ActionBase):
|
|
|
|
if module_name == 'ansible.legacy.ping' and type(self).__name__ == 'wait_for_connection':
|
|
|
|
if module_name == 'ansible.legacy.ping' and type(self).__name__ == 'wait_for_connection':
|
|
|
|
self._connection.context = None
|
|
|
|
self._connection.context = None
|
|
|
|
|
|
|
|
|
|
|
|
if module_name == 'ansible.posix.synchronize':
|
|
|
|
if 'synchronize' in module_name:
|
|
|
|
print("SYNCHRONIZE")
|
|
|
|
print('SYNCHRONIZE')
|
|
|
|
else:
|
|
|
|
print(module_name)
|
|
|
|
print("NOT SYNCHRONIZE")
|
|
|
|
print(type(self._connection))
|
|
|
|
print(type(self._connection))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
self._connection._connect()
|
|
|
|
self._connection._connect()
|
|
|
|
result = ansible_mitogen.planner.invoke(
|
|
|
|
result = ansible_mitogen.planner.invoke(
|
|
|
|