Thanks. That looks like a good option:
https://ansible-tips-and-tricks.readthedocs.io/en/latest/os-dependent-tasks/installing_packages/
I think that it comes down to:
- continue using apt for Debian systems (due to field changes)
- use {ansible_pkg_mgr} for RedHat / Fedora systems (as their parameters
are mostly aligned)
--
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/9d10a6af-caf8-42c4-9ae9-d5d516af883e%40googlegroups.com.