Skip to content

Commit 1b5b62d

Browse files
authored
Merge pull request #46 from stackhpc/use_bin_true
Use /bin/true to disable filesystems
2 parents a1cb0f4 + 38b00d4 commit 1b5b62d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tasks/section_1/cis_1.1.1.x.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
ansible.builtin.lineinfile:
77
dest: /etc/modprobe.d/cramfs.conf
88
regexp: '^(#)?install cramfs(\\s|$)'
9-
line: install cramfs /bin/false
9+
line: install cramfs /bin/true
1010
create: true
1111

1212
- name: "1.1.1.1 | PATCH | Ensure mounting of cramfs filesystems is disabled | Disable cramfs"
@@ -30,7 +30,7 @@
3030
ansible.builtin.lineinfile:
3131
dest: /etc/modprobe.d/squashfs.conf
3232
regexp: '^(#)?install squashfs(\\s|$)'
33-
line: install squashfs /bin/false
33+
line: install squashfs /bin/true
3434
create: true
3535

3636
- name: "1.1.1.2 | PATCH | Ensure mounting of squashfs filesystems is disabled | Disable squashfs"

0 commit comments

Comments
 (0)