Skip to content

Mitogen does not support Ansible 2.8 Python interpreter detection #597

Description

Running 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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions