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

This commit is contained in:
Steven Robertson 2020-08-20 00:38:41 -07:00
parent 1bd4b8afcd
commit ca4e8116b7
1 changed files with 3 additions and 0 deletions

View File

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