ansible-for-kubernetes icon indicating copy to clipboard operation
ansible-for-kubernetes copied to clipboard

ansible-solr-container "ansible-core requires a minimum of Python version 3.8. Current version: 3.7.3"

Open spilliams opened this issue 8 months ago • 1 comments

I ran the playbook as shown here and I get the following output:

...
TASK [Gather facts inside the container.] ***************************************************************************
fatal: [localhost -> solr]: FAILED! => {"changed": false, "msg": "ansible-core requires a minimum of Python version 3.8. Current version: 3.7.3 (default, Mar 23 2024, 16:12:05) [GCC 8.3.0]"}

PLAY RECAP **********************************************************************************************************
localhost                  : ok=3    changed=2    unreachable=0    failed=1    skipped=0    rescued=0    ignored=0   

If I switch the docker container image to debian:bookworm I get further in the playbook (it errors inside geerlingguy.java on the version of openjdk).

If I instead switch the docker container image to debian:bullseye we thread the needle and the playbook finishes! But I imagine it's just a matter of time before the versions don't line up properly.

versions:

  • ansible-core 2.18.3
  • docker engine (community) 28.0.4

spilliams avatar Apr 15 '25 17:04 spilliams

Yes, unfortunately this is an issue I'm also trying to figure out how to deal with easily upstream in https://github.com/geerlingguy/solr-container/issues/32 and https://github.com/geerlingguy/ansible-role-solr/issues/140

geerlingguy avatar Apr 15 '25 18:04 geerlingguy