added swappiness to zero
This commit is contained in:
parent
d3d5e7339c
commit
3507ff2dcd
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue