Compare commits

...

2 Commits

Author SHA1 Message Date
478aa7f9c9 fixes #16, blacklist modules
All checks were successful
continuous-integration/drone/push Build is passing
2024-12-05 17:44:02 +01:00
f65f0ff2df fixes #16, blacklist modules 2024-12-05 17:43:53 +01:00
2 changed files with 19 additions and 1 deletions

View File

@@ -0,0 +1,3 @@
blacklist axp20x-battery
blacklist bluetooth
blacklist snd_soc_hdmi_codec

View File

@@ -8,4 +8,19 @@
community.general.modprobe:
name: nf_conntrack
state: present
persistent: present
persistent: present
- name: blacklist modules
copy:
src: ansible-blacklist.conf
dest: /etc/modprobe.d/ansible-blacklist.conf
register: blacklist
- name: depmod and initramfs
block:
- name: depmod
command: depmod -ae
- name: initramfs
command: update-initramfs -u
when: blacklist.changed