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
python2 by default easier as well as moving
ansible in Fedora to
the Python version used by upstream to develop new features and
python2 subpackages in Fedora are retired, more and more
development will move to the
python3 versions. This change aligns the
ansible package with that reality.
All new modules and all the core modules shipped with Fedora’s
package have been tested with
python3. Locally created modules or
plugins, or 3rd party community plugins, may need some adjustment to work