Software Management Cross Distribution

Hi Guys,

has any one generated a "Master" module to install software ?
I want to have a software installed in a mixed environment
(Ubuntu Arch FreeBSD ... )
and I would prefer not having to copy paste for a role-$DISTRO
configuration, if anyone has already solved my problem

Greets
J

You know this?
https://docs.ansible.com/ansible/package_module.html

Obviously, the package names should be given as variables, maybe
defined in the group_vars or via including "{{ansible_os_family}}".yml
files.

Or did I understand you wrong?

Johannes