Hopefully your teams are already thinking about a life without CentOS 7.
It has an end of life as a downstream product of Red Hat EL of June 30, 2024.

https://www.centosblog.com/centos-eol-dates/

Doesn't CentOS 7 come with Python 2 installed by default? RHEL7 does. Are you 
removing it when installing Python 3?

Walter
--
Walter Rowe, Division Chief
Infrastructure Services, OISM
Mobile: 202.355.4123

On Sep 28, 2022, at 1:04 PM, [email protected]<http://istreamplanet.com> 
<[email protected]<mailto:[email protected]>> wrote:

Okay!  So, we have a bunch of proprietary software that we have to run on 
Centos 7.  We've been using python3 for years.  I'm trying to install an RPM 
with ansible yum module and it fails because python3.  It suggests DNF, but 
hey, Centos7 doesn't have DNF.   Okay, I'll just use builtin.command.  
Builtin.command says "Hey, you should use 'yum'!  If you don't want this 
warning set warn: false.  Docs say the 'warn' param of builtin.command is 
deprecated.

https://docs.ansible.com/ansible/latest/collections/ansible/builtin/command_module.html

Sad Face.

Is there something that takes over the job of warn:false now that warn:false is 
deprecated?

Is there some other way to install RPMs from yum repos on Centos7 that doesn't 
involve installing python2 or using builtin.command or at least doesn't give me 
warnings?

Thanks!

PS I love Ansible, and I love the way you aren't afraid to change it to make it 
better.

--
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
[email protected]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/75ea3894-cb82-49b0-b05d-61fb84a77953n%40googlegroups.com<https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Fmsgid%2Fansible-project%2F75ea3894-cb82-49b0-b05d-61fb84a77953n%2540googlegroups.com%3Futm_medium%3Demail%26utm_source%3Dfooter&data=05%7C01%7Cwalter.rowe%40nist.gov%7C6e16de6ca2104f4e301f08daa1738aa2%7C2ab5d82fd8fa4797a93e054655c61dec%7C1%7C0%7C637999814884866456%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=FcwONy%2BIzhKYX2kgw6291VPjbBd4jTf0BGeAxNA1AxI%3D&reserved=0>.

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/900E52C5-C031-44EA-9D43-928A33797B90%40nist.gov.

Reply via email to