ansible: make FileService register method synchronous

On Travis it seems it is possible for the fetch message to reach
FileService before the register message is fully processed.
pull/193/head
David Wilson 6 years ago
parent c83b113600
commit c8ce3059d1

@ -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',

Loading…
Cancel
Save