You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
On my laptop his reduces the time to execute `ansible -mping ...` by approx 300 ms with `strategy=mitogen_linear`. Until this commit Mitogen was unnecessarily sending large chunks of Ansible from the controller to targets, due to `__main__` being identified as a related module of `ansible.module_utils.basic`, and resolving to something within `ansible.cli...`. On Ansible target hosts executing any Ansible Module `__main__` is imported by `ansible.module_utils.basic` as part of Ansible's module delivery mechanism. When `mitogen.master.ModuleResponder` (on the controller) processes the request for `ansible.module_utils.basic` from the target, it scans `ansible.module_utils.basic` for related imports and finds `__main__`. However `__main__` on the controller is not the same module as `__main__` on the target. On the controller it is a module in `ansible.cli...` that implements one of the ansible commands (e.g. `ansible`, `ansible-playbook`). |
1 week ago | |
|---|---|---|
| .. | ||
| _static | 7 years ago | |
| _templates | 1 year ago | |
| images | 7 years ago | |
| .gitignore | 8 years ago | |
| Makefile | 7 years ago | |
| ansible_detailed.rst | 3 months ago | |
| api.rst | 4 years ago | |
| changelog.rst | 1 week ago | |
| conf.py | 6 months ago | |
| contributors.rst | 11 months ago | |
| domainrefs.py | 6 years ago | |
| examples.rst | 4 years ago | |
| getting_started.rst | 6 years ago | |
| howitworks.rst | 4 weeks ago | |
| index.rst | 2 years ago | |
| internals.rst | 6 years ago | |
| netlify.toml | 11 months ago | |
| pickle-substitutes.ods | 8 years ago | |
| requirements.txt | 2 years ago | |
| services.rst | 7 years ago | |
| toc.rst | 6 years ago | |