verify collection is working as expected

pull/715/head
Steven Robertson 4 years ago
parent a40c28d93f
commit 9857dfea5c

@ -378,6 +378,11 @@ class ActionModuleMixin(ansible.plugins.action.ActionBase):
if module_name == 'ansible.legacy.ping' and type(self).__name__ == 'wait_for_connection':
self._connection.context = None
# throw error if synchronize collection detected, this is what happens when running synchronize locally
# tests are being weird I think
if module_name == 'ansible.posix.synchronize':
A
self._connection._connect()
result = ansible_mitogen.planner.invoke(
ansible_mitogen.planner.Invocation(

Loading…
Cancel
Save