Role server-basic: update handling of dummy module

This commit is contained in:
Tobias Hachmer 2017-12-30 23:08:42 +01:00
parent c79fb69789
commit 7c80d75632
3 changed files with 16 additions and 2 deletions

View file

@ -33,14 +33,24 @@
- name: configure dummy module to load on system boot
template:
src: dummy.module.conf.j2
src: modules_load_dummy.conf.j2
dest: /etc/modules-load.d/dummy.conf
owner: root
group: root
mode: 0644
- name: configure dummy module options
template:
src: modprobe_dummy.conf.j2
dest: /etc/modprobe.d/dummy.conf
owner: root
group: root
mode: 0644
- name: load dummy module
modprobe:
name: "dummy"
state: present
params: "numdummies=0"
- name: manage apt auto upgrades
template:

View file

@ -0,0 +1,4 @@
#
# {{ ansible_managed }}
#
options dummy numdummies=0