pip3 and python

ansible-core 2.13 is enough for casual use. If you really feel the
need up update, delete that copy owned by the root user.

     sudo -i
     pip3 uninstall ansible-core

Then install a more recent python, if it's available. On RHEL 8 or 9,
simply doing this will pull in a recent ansible-core and the updated
python as well.

    sudo -i
    dnf install ansible-core