Why is Ansible Engine using Python 2.7 for RHEL 8 rather than Python 3?

Solution Verified - Updated -

Issue

When managing RHEL 8 hosts with Ansible, the errors reported and the interpreter used are python 2.7 rather than python 3

Environment

Ansible Engine 2.8, 2.9, 2.10
Managed Host: RHEL 8

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content