diff --git a/ansible_mitogen/planner.py b/ansible_mitogen/planner.py index a0039d0f..5fc387c8 100644 --- a/ansible_mitogen/planner.py +++ b/ansible_mitogen/planner.py @@ -185,7 +185,7 @@ class BinaryPlanner(Planner): def plan(self, invocation, **kwargs): invocation.connection._connect() - mitogen.service.call_async( + mitogen.service.call( context=invocation.connection.parent, handle=ansible_mitogen.services.FileService.handle, method='register',