added swappiness to zero

This commit is contained in:
panda 2021-10-03 01:12:51 +02:00
parent d3d5e7339c
commit 3507ff2dcd

View file

@ -151,6 +151,11 @@
group: root
mode: '0644'
# Set vm.swappiness to 5 in /etc/sysctl.conf
- ansible.posix.sysctl:
name: vm.swappiness
value: '0'
state: present
- name: "ssh_hardening"
hosts: thismachine