shell: Task “ensure that pcspeaker remains silent” is broken
TASK [common/shell : ensure that pcspeaker remains silent] ***
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: Exception: Error while setting attributes: /usr/bin/chattr: Operation not supported while reading flags on /tmp/tmprklj38gx
task path: /home/qsx/RWTH/FSMPI/ansible/shared-roles/common/shell/tasks/shell.yml:161
fatal: [cl-deb]: FAILED! => {"changed": false, "details": "Error while setting attributes: /usr/bin/chattr: Operation not supported while reading flags on /tmp/tmprklj38gx\n", "gid": 0, "group": "root", "mode": "0644", "msg": "chattr failed", "owner": "root", "path": "/tmp/tmprklj38gx", "size": 0, "state": "file", "uid": 0}
The community.general.kernel_blacklist module tries to set some attribute on a temporary file (not directly from a quick inspection, but through some library calls), but the tmpfs
on /tmp
does not support that.