Re:Python 2 will be replaced with Python 3 in the next RHEL ...
by takeda on Wednesday April 11, 2018 @11:52AM
(#16812364)
Ansible is an application not a library so it is not a problem. Python allows to install multiple versions at the same time, for example you can have Python 2.7, 3.3, 3.4, 3.5 and 3.6 installed side by side and all will work fine without issues.
So you can have Python 2.7 installed for Ansible and 3.6 for your application.
So you can have Python 2.7 installed for Ansible and 3.6 for your application.