Python 2 is not there. If you run on AWS, either have a task to download and install Python 2, or in your EC2's user data to install Python 2 (this is necessary for Ansible users).
https://github.com/ansible/ansible/pull/22721/files
(Though, it's worth noting that CentOS still does not have Python 3 support out of the box.)