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/tests/ansible/hosts
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>
1 year ago
..
group_vars Support Ansible 11 (ansible-core 2.18) 1 year ago
become_same_user.hosts tests: Bypass interpreter discovery on non-existant connection delegation targets 1 year ago
connection_delegation.hosts tests: Bypass interpreter discovery on non-existant connection delegation targets 1 year ago
default.hosts ansible_mitogen: Respect interpreter_python and ANSIBLE_PYTHON_INTERPRETER 1 year ago
issue340 ansible: use template-expanded delegate_to hostname in one more location. 7 years ago
k3.hosts.disabled tests: Ignore inventory files of inactive tests & benchmarks 1 year ago
localhost.hosts.disabled tests: Ignore inventory files of inactive tests & benchmarks 1 year ago
osa-containers.hosts.disabled tests: Ignore inventory files of inactive tests & benchmarks 1 year ago
transport_config.hosts tests: Add regression for add_host with host_key_checking 2 years ago