investigate why python docker image has earlier version of python
during usage of the ansible-ee container, ansible reported that a python module could not be found. in investigation it was discovered that ansible was using python3.9 in a python 3.11 docker container. aftter running commands
rm /usr/bin/python3
ln -s /usr/local/bin/python3.11 /usr/bin/python3
ansible started to run detecting the installed python modules.
on looking in the docker build logs it doesnt appear to be installed during a build. within a clean python:3.11 container python 3.9 is also installed.
related: