Hi,

Up until now I've been making a logic decision with my ansible roles based 
upon the ansible_os_family, to run the appropriate module for yum 
('RedHat') or apt ('Debian').

With the introduction of CentOS 8, dnf has been brought in as a replacement 
for yum. 
So my question is, is there a prefered 'when' logic that I can use to 
determine whether I should use the dnf or yum module in a playbook/role? 
Ideally something that maximises future proof.

Regards

Donald



-- 
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/9b5542e9-95fd-4bb5-8e89-14931c9c58c1%40googlegroups.com.

Reply via email to