From 95c43ec9fcfb3fb104b6442cb24abe3dd757fd68 Mon Sep 17 00:00:00 2001 From: Steven Robertson Date: Sun, 18 Oct 2020 22:58:38 -0700 Subject: [PATCH] fixed issue of switching between mitogen and non-mitogen strategies --- ansible_mitogen/strategy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible_mitogen/strategy.py b/ansible_mitogen/strategy.py index 3ac15017..6364b86e 100644 --- a/ansible_mitogen/strategy.py +++ b/ansible_mitogen/strategy.py @@ -233,7 +233,7 @@ class AnsibleWrappers(object): ansible_mitogen.loaders.action_loader.get = ( ansible_mitogen.loaders.action_loader__get ) - ansible_mitogen.loaders.connection_loader.get = ( + ansible_mitogen.loaders.connection_loader.get_with_context = ( ansible_mitogen.loaders.connection_loader__get ) ansible.executor.process.worker.WorkerProcess.run = worker__run