robertdebock.modprobe
Ansible Role Modprobe
This role is used to load system modules.
GitHub | GitLab | Downloads | Version |
---|---|---|---|
Example Playbook
Here’s a simple example of how to use the modprobe role. This example is tested automatically whenever changes are made.
---
- name: Load Modules
hosts: all
become: true
gather_facts: true
roles:
- role: robertdebock.modprobe
modprobe_modules:
- br_netfilter
Before running this, you might need to prepare your machine. This is done in CI with the following playbook:
---
- name: Prepare System
hosts: all
become: true
gather_facts: false
roles:
- role: robertdebock.bootstrap
For detailed usage, check out the full explanation and examples.
Role Variables
Default settings for this role are in the following file:
---
# Default settings for modprobe
# List the modules you want to load. For example:
# modprobe_modules:
# - br_netfilter
modprobe_modules: []
Requirements
Make sure to have the pip packages listed in requirements.txt.
State of Used Roles
The following role is used to prepare the system. You can choose a different way to do this.
Requirement | GitHub | GitLab |
---|---|---|
robertdebock.bootstrap |
Context
This role is part of multiple compatible roles. Check the documentation of these roles for more information.
Here’s a look at related roles:
Compatibility
This role has been tested with several container images:
Container | Tags |
---|---|
Alpine | all |
Amazon | Candidate |
EL | 9 |
Debian | all |
Fedora | all |
Ubuntu | all |
The minimum required version of Ansible is 2.12. The role has been tested on:
- The previous version.
- The current version.
- The development version.
If you encounter any issues, please report them on GitHub.
License
This role is licensed under Apache-2.0.
Author Information
Created by robertdebock.
Please consider sponsoring me.
ansible-galaxy install robertdebock.modprobe