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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/75ea3894-cb82-49b0-b05d-61fb84a77953n%40googlegroups.com.

Reply via email to