docs(cis): add comment explaining squashfs/snap Ubuntu exclusion
This commit is contained in:
1 parent
c3ccce97ae
commit
c08e1fe4e0
1 file changed
+1
@@ -1,6 +1,7 @@
|
||||
---
|
||||
- name: Disable Kernel Modules
|
||||
vars:
|
||||
# Ubuntu uses squashfs for snap packages — blacklisting it breaks snap entirely
|
||||
cis_modules_squashfs: "{{ [] if os in ['ubuntu', 'ubuntu-lts'] else ['squashfs'] }}"
|
||||
cis_modules_all: "{{ cis_cfg.modules_blacklist + cis_modules_squashfs }}"
|
||||
ansible.builtin.copy:
|
||||
|
||||
Reference in new issue
Block a user