(Useful, not pretty.)
What is the list of all groups that can be installed using the yum module in Ansible?
yum --hidden grouplist | grep -v ':' | sed 's/ //g' | xargs -d \\n yum --verbose groupinfo | grep Group-Id | sed 's/ Group-Id: //'
Turn off a repository
dnf config-manager --disable PowerTools