From ca4e8116b79fece12c682619dfa02e912cfdac71 Mon Sep 17 00:00:00 2001 From: Steven Robertson Date: Thu, 20 Aug 2020 00:38:41 -0700 Subject: [PATCH] TODO: turns out ansible 2.10 doesn't run Mitogen like it used to; was running old ansible version before because ansible-base didn't override everything. Did a fresh uninstall of ansible and installed 2.10.0 and Mitogen's connection monkeypatching isn't working --- ansible_mitogen/strategy.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ansible_mitogen/strategy.py b/ansible_mitogen/strategy.py index cb264025..9dcf035e 100644 --- a/ansible_mitogen/strategy.py +++ b/ansible_mitogen/strategy.py @@ -363,7 +363,10 @@ class StrategyMixin(object): try: wrappers.install() try: + # TODO: ansible 2.10 doesn't actually call Mitogen like it used to + # mitogen_linear is called as expected but connection wrapping doesn't work run = super(StrategyMixin, self).run + import epdb; epdb.set_trace() return mitogen.core._profile_hook('Strategy', lambda: run(iterator, play_context) )