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