Ansible Centos 8 dnf module "module" switch missing?
You can install a module (which is essentially a group of packages) by adding a @
prior to the name of the module to the name
parameter of the Ansible dnf
module. It can be used like this:
- name: install the 'Development tools' package group
dnf:
name: '@Development tools'
state: present