community / community.general / 1.3.11 / module / kernel_blacklist Blacklist kernel modules Authors: Matthias Vogelgesang (@matze)community.general.kernel_blacklist (1.3.11) — module
Install with ansible-galaxy collection install community.general:==1.3.11
collections: - name: community.general version: 1.3.11
Add or remove kernel modules from blacklist.
- name: Blacklist the nouveau driver module community.general.kernel_blacklist: name: nouveau state: present
name: description: - Name of kernel module to black- or whitelist. required: true type: str state: choices: - absent - present default: present description: - Whether the module should be present in the blacklist or absent. type: str blacklist_file: description: - If specified, use this blacklist file instead of C(/etc/modprobe.d/blacklist-ansible.conf). type: str