Skip to content
Snippets Groups Projects
Commit 6ea723c0 authored by Lars Beckers's avatar Lars Beckers
Browse files

shell: add option to disable pcspkr blacklisting

Unfortunately, there is a popular hoster that offers systems where
blacklisting pcspkr results in a failure. Since these are virtual
systems its not really relevant anyway. The simplest solution was to
make it configurable.
parent 6088b585
No related branches found
No related tags found
No related merge requests found
Pipeline #4308 passed
......@@ -8,3 +8,5 @@ shell_software:
- pwgen
- snmp
- telnet
shell_blacklist_pcspkr: true
......@@ -129,7 +129,7 @@
- name: ensure that pcspeaker remains silent
kernel_blacklist:
name: pcspkr
state: present
state: "{{ 'present' if shell_blacklist_pcspkr else 'absent' }}"
notify:
- rerun depmod
- update initramfs
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment