I am running CentOS7. I have installed dnfand updated the default version on Centos to python3. I have added the ansible_python_interpreter=/bin/python3 on the inventory. Still when I run ansible -- version it still says python2.7. I have also done a yum erase ansible and then a dnfinstall ansible. Finally I uninstalled ansible and installed it via pip3 install ansible. Even after doing all this my version of python is still 2.7. What am I missing to get ansible to use python3 as it's default version?