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.
mitogen/ansible_mitogen
Alex Willmer 945e360363 ansible_mitogen: Respect interpreter_python and ANSIBLE_PYTHON_INTERPRETER
This adapts PR #740 by @extmind (afe0026890),
which augmented the call to `Connection.get_task_var()` with
`C.config.get_config_value('INTERPRETER_PYTHON'` as a default. Instead this
*replaces* the call to `Connection.get_task_var()`. The aim is greater
simplicity by disentangling templating of a configured interpreter path and
discovery of an interpreter when none is configured. I think this also reduces
the number of times `Connection._get_task_vars()` is called, so reducing the
number of times we do the ugly stack frame inspection.

I've also added test cases.

Co-authored-by: Lars Beckers <lars@extmind.de>
11 months ago
..
compat Remove vendored mitogen.compat.simplejson 3 years ago
plugins ansible_mitogen: Handle templated connection passwords and ansible_ssh_password 1 year ago
utils ansible_mitogen: Handle AnsibleUnsafeText et al in Ansible >= 7 2 years ago
__init__.py ansible: restructure to avoid intermediate imports 8 years ago
affinity.py ansible_mitogen: Remove Python 2.4 and 2.5 backward compatibility fallbacks 1 year ago
connection.py ansible_mitogen: Templated connection timeout 12 months ago
loaders.py Support Ansible 11 (ansible-core 2.18) 1 year ago
logging.py ansible_mitogen: Remove fallback imports for Ansible < 2.10 1 year ago
mixins.py ansible_mitogen: Support templated become_user 1 year ago
module_finder.py mitogen: Support PEP 451 ModuleSpec API, required for Python 3.12 2 years ago
parsing.py ansible_mitogen: Standardise __future__ imports to match Ansible 4 years ago
planner.py ansible_mitogen: Remove Python 2.4 and 2.5 backward compatibility fallbacks 1 year ago
process.py ansible_mitogen: Remove Python 2.4 and 2.5 backward compatibility fallbacks 1 year ago
runner.py ansible_mitogen: Consolidate Python 2 & 3 compatibility 1 year ago
services.py ansible_mitogen: Consolidate Python 2 & 3 compatibility 1 year ago
strategy.py ansible_mitogen: Templated connection timeout 12 months ago
target.py ansible_mitogen: Consolidate Python 2 & 3 compatibility 1 year ago
transport_config.py ansible_mitogen: Respect interpreter_python and ANSIBLE_PYTHON_INTERPRETER 11 months ago