Skip to content
Snippets Groups Projects
Commit 40c26b8c authored by Lars Beckers's avatar Lars Beckers Committed by Thomas Schneider
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 53cf8286
No related branches found
No related tags found
1 merge request!24shell: add option to disable pcspkr blacklisting
Pipeline #4342 passed
...@@ -8,3 +8,5 @@ shell_software: ...@@ -8,3 +8,5 @@ shell_software:
- pwgen - pwgen
- snmp - snmp
- telnet - telnet
shell_blacklist_pcspkr: true
...@@ -129,7 +129,7 @@ ...@@ -129,7 +129,7 @@
- name: ensure that pcspeaker remains silent - name: ensure that pcspeaker remains silent
kernel_blacklist: kernel_blacklist:
name: pcspkr name: pcspkr
state: present state: "{{ 'present' if shell_blacklist_pcspkr else 'absent' }}"
notify: notify:
- rerun depmod - rerun depmod
- update initramfs - update initramfs
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment