Encryption and major changes

This commit is contained in:
2024-09-28 23:12:19 +02:00
parent 1f060541c3
commit 6248286ad2
159 changed files with 153 additions and 129 deletions
+24
View File
@@ -0,0 +1,24 @@
---
- name: Disable kernel network modules
become: true
ansible.builtin.lineinfile:
dest: /etc/modprobe.d/disablenet.conf
line: "install {{ item }} /bin/true"
mode: "0644"
owner: root
group: root
state: present
create: true
with_items:
- "{{ net_modules_blocklist }}"
tags:
- modprobe
- CCE-80834-5
- CCE-82028-2
- CCE-82297-3
- CIS-UBUNTU2004-3.4.1
- CIS-UBUNTU2004-3.4.2
- CIS-UBUNTU2004-3.4.3
- CIS-UBUNTU2004-3.4.4
- M1038
- M1042