Skip to content

Ansible role for simple management of kernel modules including persisting module loading, blacklisting.

License

Notifications You must be signed in to change notification settings

galexrt/ansible-kernel-modules

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ansible-kernel-modules

Ansible role for simple management of kernel modules including persisting module loading, blacklisting.

Requirements

No special requirements.

Role Variables

kernel_modules:
# Module dummy will be added to autoload and loaded immediately
  - name: dummy
# This module will be loadedn but not autoloaded
  - name: dummy
    autoload: false
# Module will be loaded with params
  - name: dummy
    params: 'numdummies=2'
# Module will be unloaded and blacklisted
  - name: dummy
    unload: true
    blacklist: true

Dependencies

No dependencies.

Example Playbook

An example playbook on how to use this role:

- hosts: servers
  roles:
    - { role: galexrt.kernel-modules, x: 42 }

License

MIT

Author Information

If you have problems with the role, feel free to create an issue on Github or contact me by mail.

About

Ansible role for simple management of kernel modules including persisting module loading, blacklisting.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published