forked from ansible-lockdown/RHEL9-CIS
Readme Update, Yamllint Update
Signed-off-by: Stephen Williams <stephenw@mindpointgroup.com>
This commit is contained in:
parent
eee101c844
commit
4a40facca9
8 changed files with 249 additions and 50 deletions
|
|
@ -26,7 +26,7 @@
|
|||
"1.1.2.2 | PATCH | Ensure nodev option set on /tmp partition"
|
||||
"1.1.2.3 | PATCH | Ensure noexec option set on /tmp partition"
|
||||
"1.1.2.4 | PATCH | Ensure nosuid option set on /tmp partition"
|
||||
ansible.builtin.mount:
|
||||
ansible.posix.mount:
|
||||
name: /tmp
|
||||
src: "{{ item.device }}"
|
||||
fstype: "{{ item.fstype }}"
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@
|
|||
"1.1.8.2 | PATCH | Ensure nodev option set on /dev/shm partition | Set nodev option
|
||||
1.1.8.3 | PATCH | Ensure noexec option set on /dev/shm partition | Set nosuid option
|
||||
1.1.8.4 | PATCH | Ensure nosuid option set on /dev/shm partition | Set noexec option"
|
||||
ansible.builtin.mount:
|
||||
ansible.posix.mount:
|
||||
name: /dev/shm
|
||||
src: tmpfs
|
||||
fstype: tmpfs
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
mode: 0600
|
||||
|
||||
- name: "1.1.9 | PATCH | Disable USB Storage | Edit modprobe config"
|
||||
ansible.builtin.modprobe:
|
||||
community.general.modprobe:
|
||||
name: usb-storage
|
||||
state: absent
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue