The Kernel modules on a system can be managed cleanly with the kmod state module:
kvm_amd: kmod.present pcspkr: kmod.absent
Verify that the named kernel module is not loaded
Ensure that the specified kernel module is loaded
salt.states.keyboard
salt.states.layman
Enter search terms or a module, class or function name.