feat(ansible): increase swap to 16GB and apply memory optimizations

- Resized swap file from 4GB to 16GB.
- Configured zswap pool (30%) and THP (madvise) via GRUB.
- Tuned kernel parameters for proactive reclaim and NVMe write-back.
- Integrated systemd-oomd for user slice monitoring.
- Updated documentation and changelog.
This commit is contained in:
ja
2026-03-17 19:02:01 +01:00
parent d2067dfb91
commit 72274e0d39
6 changed files with 166 additions and 6 deletions
+18
View File
@@ -0,0 +1,18 @@
---
- name: Update GRUB
command: update-grub
become: yes
tags: [grub, boot]
- name: Restart systemd-oomd
systemd:
name: systemd-oomd
state: restarted
become: yes
tags: [systemd, oomd]
- name: Reload systemd
systemd:
daemon_reload: yes
become: yes
tags: [systemd]