Ansible now uses Python3 by default
ansible package in Fedora is switching to use Python 3 by default, instead of Python 2.
You may need to adjust what python is used on the target machines you talk to from your Fedora control host. You can do this by following the instructions in Ansible docs.
This change allows you to manage target machines that don’t normally ship with
python2 by default easier as well as moving
ansible in Fedora to the Python version used by upstream to develop new features and improvements.
python2 subpackages in Fedora are retired, more and more development will move to the
This change aligns the Fedora
ansible package with that reality.
All new modules and all the core modules shipped with Fedora’s
ansible package have been tested with
Locally created modules or plugins, or 3rd party community plugins, may need some adjustment to work smoothly with
Want to help? Learn how to contribute to Fedora Docs ›