Join GitHub today
Fixes #24425 - Templates for modularity actions #498
After changing the ansible category (see above), things work well, however because we are running dnf directly instead of using the dnf module (which doesn't support modularity), Ansible warns:
"Consider using the dnf module rather than running dnf. If you need to use command because dnf is insufficient you can add warn=False to this command task or set command_warnings=False in ansible.cfg to get rid of this message."
You can add this below register on the shell command:
args: warn: false
Incidentally, once https://github.com/ansible/ansible/pull/38457/files is merged and in an ansible release, we should move to the native provider.