Ansible.legacy.setup failed to execute

I expect it is because the servers have old versions of Python that are not supported by the latest versions of Ansible, Ubuntu 18.04 is so old it isn’t listed on the Ubuntu python3 packages page.

Try running python --version and python3 --version on each server and then compare those results with the table here.

3 Likes