kernel

Ansible role: KERNEL

Install the Linux kernel and setup sysctl and modprobe.

sysctl is inspired from robertdebock.

Usage

Override defaults following the examples below.

sysctl_settings:
  - name:  vm.swapiness
    value: 60

modprobe:                 # load modules during the live system, not persistent
  - name: zfs
  - name: foo
    parameter: bar
    state: present
modules_load_d: []        # load modules at boot time, persistent
  - name: module_a
    parameter: env=1
modprobe_d_blacklist: []  # blacklist modules at boot
  - name: nouveau
modprobe_d_option:  []    # define parameters to listed modules
  - name:
    parameter:
modprobe_d_alias:  []     # define alias modules, TODO
modprobe_reboot: false

TODO:

  • setup permanent sysctl in /etc/sysctl.conf
  • fix delegate_to: localhost on asserts
About

A role to install the Linux kernel and setup sysctl and modprobe.

Install
ansible-galaxy install lunics/ansible_role_kernel
GitHub repository
License
Unknown
Downloads
8
Owner