ModuleResponder sends ansible.cli package, and many others, probably unnecessarily #1124
Labels
affects-0.3
Issues related to 0.3.X Mitogen releases
bug
Code feature that hinders desired execution outcome
importer
Issues impacting core.py, parent.py, and master.py's import client and servers
performance
Performance problems
Performing an Ansible ping, with
-vvv
shows that Mitogen is sending the packageansible.cli
to the target, and many other parts of the Ansible codebase that I would expect to be unneeded and irrelevant on a target.Adding some instrumentation to
ModuleFinder.find_related()
shows thatansible.cli
is being incuded as a related import ofansible.module_utils.basic
, which imports__main__
.import __main__
has been present inansible.module_utils.basic
since Ansible 2.7. I t was introduced in ansible/ansible@52449ccThe text was updated successfully, but these errors were encountered: