Mitogen attempts Ansible connections early (e.g. during meta: reset_connection) #1132
Labels
affects-0.3
Issues related to 0.3.X Mitogen releases
ansible
Issues relating to Mitogen for Ansible
bug
Code feature that hinders desired execution outcome
The following playbook will work with vanilla Ansible, but may fail using Mitogen+Ansible
With vanilla Ansible the
meta
task is executed andansible.plugins.strategy.StrategyBase._execute_meta()
callsconnection.reset()
- which closes any existing connection. With Mitogen + Ansible the call toconnection.reset()
tries to instantiate a newansible_mitogen.transport_config.PlayContextSpec()
, which triggers interpreter disocvery, which attempts a connection, which fails because the username and password aren't in scope.This is probably a major cause/the cause of
#1105#1096.The text was updated successfully, but these errors were encountered: