Mitogen does not support Ansible 2.8 Python interpreter detection
See original GitHub issueRunning Debian 9 locally with Ansible 2.8.1 with Python 3. Controlling a Ubuntu 18.04 server.
I followed the instructions here: https://networkgenomics.com/ansible/
Of course it didn’t work for 2.8.X, so I switched it out for master. Now I’m getting this:
TASK [Gathering Facts] ************************************************************************************************************************
fatal: [8.9.11.101]: UNREACHABLE! => {"changed": false, "msg": "EOF on stream; last 300 bytes received: 'bash: /usr/bin/python: No such file or directory\\n'", "unreachable": true}
Oddly enough, /usr/bin/python does exist but it’s a symlink to python2.7.
I think it should be trying /usr/bin/python3. Ansible works just fine without mitogen enabled.
I think there’s something about a ansible_python_interpreter that I can set, but seems like this should work by default.
What can I try/test? I’m new to both Ansible and Mitogen, so not very familiar with either yet.
Thank you!
Issue Analytics
- State:
- Created 4 years ago
- Reactions:5
- Comments:12 (2 by maintainers)
Top Results From Across the Web
Mitogen does not support Ansible 2.8 Python interpreter ...
Running Debian 9 locally with Ansible 2.8.1 with Python 3. ... Mitogen does not support Ansible 2.8 Python interpreter detection #597.
Read more >Release Notes — Mitogen Documentation
#597 mitogen does not support Ansible 2.8 Python interpreter detection. #655 wait_for_connection gives errors. #672 cannot perform relative import error.
Read more >Interpreter Discovery - Ansible Documentation
Detects the target OS platform, distribution, and version, then consults a table listing the correct Python interpreter and path for each platform/distribution/ ...
Read more >mitogen - Bountysource
18:07:51 eldil!3 mitogen] python tests/bench/throughput.py Testing local()... local() took 553.16 ms to ... Which version of Ansible are you running?
Read more >Speed up Ansible with Mitogen! - DEV Community
If somebody like me was not familiar with it — this library allows fast execution of python code on a remote host and...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Really sad to see that there is no progress on this bug, which is a deal breaker.
Any news on this?