verify collection is working as expected

This commit is contained in:
Steven Robertson 2020-09-20 18:07:25 -07:00
parent a40c28d93f
commit 9857dfea5c
1 changed files with 5 additions and 0 deletions

View File

@ -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(