Move dummy module from role kmod-batman to server-basic
This commit is contained in:
parent
07eda681ca
commit
10d25ee031
5 changed files with 19 additions and 6 deletions
|
@ -13,10 +13,7 @@
|
||||||
src: batman-adv.module.conf.j2
|
src: batman-adv.module.conf.j2
|
||||||
dest: /etc/modules-load.d/batman-adv.conf
|
dest: /etc/modules-load.d/batman-adv.conf
|
||||||
|
|
||||||
- name: load batman + dummy module
|
- name: load batman module
|
||||||
modprobe:
|
modprobe:
|
||||||
name: "{{ item }}"
|
name: "batman-adv"
|
||||||
state: present
|
state: present
|
||||||
with_items:
|
|
||||||
- batman-adv
|
|
||||||
- dummy
|
|
||||||
|
|
|
@ -3,4 +3,3 @@
|
||||||
# {{ ansible_managed }}
|
# {{ ansible_managed }}
|
||||||
#
|
#
|
||||||
batman-adv
|
batman-adv
|
||||||
dummy
|
|
||||||
|
|
|
@ -6,6 +6,7 @@ Diese Ansible role installiert Pakete, die auf allen MWU-Server benötigt werden
|
||||||
- setzt vim als default Editor
|
- setzt vim als default Editor
|
||||||
- setzt die Zeitzone auf Europe/Berlin
|
- setzt die Zeitzone auf Europe/Berlin
|
||||||
- generiert und setzt default locale
|
- generiert und setzt default locale
|
||||||
|
- konfiguriert das dummy Kernel Modul
|
||||||
|
|
||||||
## Benötigte Variablen
|
## Benötigte Variablen
|
||||||
|
|
||||||
|
|
|
@ -30,3 +30,14 @@
|
||||||
owner: admin
|
owner: admin
|
||||||
group: admin
|
group: admin
|
||||||
mode: 0750
|
mode: 0750
|
||||||
|
|
||||||
|
- name: configure dummy module to load on system boot
|
||||||
|
template:
|
||||||
|
src: dummy.module.conf.j2
|
||||||
|
dest: /etc/modules-load.d/dummy.conf
|
||||||
|
|
||||||
|
- name: load dummy module
|
||||||
|
modprobe:
|
||||||
|
name: "dummy"
|
||||||
|
state: present
|
||||||
|
params: "numdummies=0"
|
||||||
|
|
5
roles/server-basic/templates/dummy.module.conf.j2
Normal file
5
roles/server-basic/templates/dummy.module.conf.j2
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
#
|
||||||
|
# Load dummy module on system boot
|
||||||
|
# {{ ansible_managed }}
|
||||||
|
#
|
||||||
|
dummy
|
Loading…
Reference in a new issue