Skip to content
Merged

Dev #63

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions roles/cis_security/tasks/type-files/redhat-8-type.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
- name: Add unused_filesystems to /etc/modprobe.d/CIS.conf
ansible.builtin.lineinfile:
dest: /etc/modprobe.d/CIS.conf
line: "install {{ item }} /bin/true"
line: "install {{ item }} /bin/false"
state: present
create: true
owner: root
Expand Down Expand Up @@ -1049,7 +1049,7 @@
# 1.8.5 - Diable media automount
- name: 1.8.5 - disable removable media automount in GDM
ansible.builtin.copy:
dest: "/etc/dconf/db/local.d/00-media-automount"
dest: "/etc/dconf/db/distro.d/00-media-automount"
owner: root
group: root
mode: 0644
Expand Down
4 changes: 2 additions & 2 deletions roles/cis_security/tasks/type-files/redhat-9-type.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1044,7 +1044,7 @@

- name: 1.8.4 Set gdm timeouts
ansible.builtin.blockinfile:
path: /etc/dconf/db/local.d/00-screensaver
path: /etc/dconf/db/distro.d/00-screensaver
owner: root
group: root
mode: 0644
Expand Down Expand Up @@ -1496,7 +1496,7 @@
- name: 3.1.3 - Process uncommon network list
ansible.builtin.lineinfile:
dest: /etc/modprobe.d/CIS.conf
line: "install {{ item }} /bin/true"
line: "install {{ item }} /bin/false"
state: present
create: true
owner: root
Expand Down
4 changes: 2 additions & 2 deletions roles/cis_security/tasks/type-files/ubuntu-22-type.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
- name: 1.1 - Add unused_filesystems to /etc/modprobe.d/CIS.conf
ansible.builtin.lineinfile:
dest: /etc/modprobe.d/CIS.conf
line: "install {{ item }} /bin/true"
line: "install {{ item }} /bin/false"
state: present
create: true
owner: root
Expand Down Expand Up @@ -496,7 +496,7 @@
- name: 1.1.10 - Disable USB storage module
ansible.builtin.lineinfile:
dest: /etc/modprobe.d/CIS.conf
line: "install usb-storage /bin/true"
line: "install usb-storage /bin/false"
state: present
create: true
owner: root
Expand Down