-
Notifications
You must be signed in to change notification settings - Fork 199
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ansible: Respect interpreter_python config #833
base: master
Are you sure you want to change the base?
Conversation
bab22aa
to
afe0026
Compare
@moreati: Thanks for the more frequent releases. This is one of the patches that Debian has been carrying for a while. As we don't have a |
Sorry for the long wait. I've been avoiding the interpreter discovery code for far too long. I've now tackled most of templating connection options/variables and connection timeout, and I have a mcuh better understanding of the ... intricacies. This patch looks broadly correct. I'm going to update for master, rejig a couple of details, and add some tests. |
The failure in https://github.com/mitogen-hq/mitogen/actions/runs/12412205309/job/34651500318?pr=833
is perplexng. The test is expecting mitogen/tests/ansible/hosts/transport_config.hosts Lines 36 to 38 in e8005ec
I need to confirm the semantics of |
Going by ansible/ansible@4d3a612#diff-cbe4262a246b2475f3884118713f2ae5a6c49a443d9a942b6c63445bed9354dcR32
|
Use the global configuration
variableinterpreter_python
whenansible_python_interpreter
is unset.Fixes #740
Edit: @moreati clarify config vs variable distinction