589 B
589 B
kind, section
| kind | section |
|---|---|
| howto | dev |
Minimum Python version
Problem
When Ansible is executing the gathering information task the following error is thrown:
fatal: [host]: FAILED! => changed=false
ansible_facts: {}
failed_modules:
ansible.legacy.setup:
failed: true
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]'
msg: |-
The following modules failed to execute: ansible.legacy.setup
o
Solution
Set Python version 3.10 and reinstall the Ansible dependencies.