willhallonline / docker-ansible

Ansible inside Docker containers: Alpine, Ubuntu, Rocky & Debian with Ansible 2.16, 2.15, 2.14, 2.13, 2.12, 2.11, 2.10 and 2.9 + Mitogen
https://www.willhallonline.co.uk/project/docker/docker-ansible/
MIT License
376 stars 135 forks source link

mitogen path in ubuntu 18.04 #16

Closed Lusitaniae closed 4 years ago

Lusitaniae commented 4 years ago

At least for ubuntu 18.04 the path mitogen is installed is /usr/local/lib/python2.7/dist-packages/ansible_mitogen/plugins/strategy

Instead of the documented

/usr/lib/python2.7/site-packages/ansible_mitogen/plugins/strategy

This is just a note.

If you plan to move everything to python 3 soon, I guess no need for action here.

willhallonline commented 4 years ago

I might need to update. At the moment I am trying to get an opinion as to how/if to support Python 2. You would just suggest dropping, or running totally separate set of container tags?

Lusitaniae commented 4 years ago

Good question.

Personally I'd go for python 3 only, but not sure how many people relying on your images and python2

willhallonline commented 4 years ago

I am not sure either 🤷‍♂ . The container is just about to hit 2M pulls on Docker hub and I know that some of the previous organisations I have worked for have used it at one point or another inside CI. However, from LinkedIn (which I am also trying to garner understanding) it seems that there is little support for Python2.