community / community.general / 1.3.11 / module / modprobe Load or unload kernel modules Authors: David Stygstra (@stygstra), Julien Dauphant (@jdauphant), Matt Jeffery (@mattjeffery)community.general.modprobe (1.3.11) — module
Install with ansible-galaxy collection install community.general:==1.3.11
collections: - name: community.general version: 1.3.11
Load or unload kernel modules.
- name: Add the 802.1q module community.general.modprobe: name: 8021q state: present
- name: Add the dummy module community.general.modprobe: name: dummy state: present params: 'numdummies=2'
name: description: - Name of kernel module to manage. required: true type: str state: choices: - absent - present default: present description: - Whether the module should be present or absent. type: str params: default: '' description: - Modules parameters. type: str