Use sysctl module to set swappiness
This commit is contained in:
parent
78819f2c78
commit
78691eceee
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
- name: set swapiness
|
||||
lineinfile:
|
||||
path: /etc/sysctl.conf
|
||||
line: vm.swappiness = 10
|
||||
sysctl:
|
||||
name: vm.swappiness
|
||||
value: 10
|
||||
state: present
|
||||
|
|
Reference in a new issue