0
0
vps-set-up-playbook/roles/set-vm-overcommit-memory/tasks/main.yaml

6 lines
184 B
YAML
Raw Normal View History

2023-11-25 08:10:49 +08:00
- name: Add vm.overcommit_memory to sysctl.conf
lineinfile:
path: /etc/sysctl.conf
line: 'vm.overcommit_memory=1'
insertafter: EOF # Add the line at the end of the file