0
0
vps-set-up-playbook/roles/set-vm-overcommit-memory/tasks/main.yaml
2023-12-15 04:54:22 +08:00

6 lines
184 B
YAML

- 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