-
Notifications
You must be signed in to change notification settings - Fork 198
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+Mitogen ignores interpreter_python global variable #740
Comments
😱 oh no, I missed |
As a note to this .. it also doesn't expand it if a jinja2 template is used .. which we do for venv ( ye $DIETY I wish ansible would support venv more natively!!! )
Setting a relative path does work .. but that's not interchangable with the default strategy .. which wants a ful path. |
Just saw the PR in #658 now supported .. so ignore. |
Is there a timeline of when there will be a new release? I've tested against master branch and the discovery works in my tests, but I'm unable to use it till there is a new version released. |
A new release will happen after #715 lands. I had planned for it to be released a lot earlier but the tests are proving to be a pain... 😞 things that work locally fail in Azure DevOps for some reason. I reeeeally wanna release before the end of the month, and I will try to make that happen. |
It's not ideal but in the meantime you could peg to the current |
Best solution is to make a group_vars/all.yml for each of your inventories, with:
|
@dsgnr new rc tags have been made: |
Hi all, |
Hello,
I'm running the Git version of Mitogen as of commit a60c6c1. It seems that after the changes in #658, Ansible+Mitogen respects the
ansible_interpreter_python
variable, but not the[defaults]/interpreter_python
ofansible.cfg
, as described in https://docs.ansible.com/ansible/2.9/reference_appendices/interpreter_discovery.html#interpreter-discovery. Although this can be easily worked around, I do find the current behaviour a bit confusing.I'm running ansible 2.9.9+dfsg-1 from Debian unstable on my host:
The target machines run Debian 10 with Python 2.7.16 and 3.7.3 installed.
Expected behaviour (strategy=linear)
Behaviour with strategy=mitogen_linear:
Editted by @moreati: clarify variable vs config distinction.
The text was updated successfully, but these errors were encountered: