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
392 stars 137 forks source link

ERROR! Invalid play strategy specified: mitogen_linear when using ansible-base/alpine316/Dockerfile #55

Closed lirany1 closed 2 years ago

lirany1 commented 2 years ago

When using: https://github.com/willhallonline/docker-ansible/blob/master/ansible-base/alpine316/Dockerfile

it's give me an error: ERROR! Invalid play strategy specified: mitogen_linear

willhallonline commented 2 years ago

At the moment there are conflicts betweent he ansible-core version being 2.13 and ansible version being > 5. So, either you would need to use ansible < 6. https://github.com/mitogen-hq/mitogen/issues/929

However, if it is just that it can't find mitogen as a tool then it may be that it is being stored in a different location. (probably that the python version is different. Within 2.13-alpine-3.16 it is /usr/lib/python3.10/site-packages/ansible_mitogen/plugins.

lirany1 commented 2 years ago

Thanks :) seems like related to https://github.com/mitogen-hq/mitogen/issues/929

willhallonline commented 2 years ago

Closing as can't easily fix. Issue is with mitogen.