add swapfile role

This commit is contained in:
Sergey Malyuk
2025-12-18 10:54:07 +03:00
parent 02d63ac131
commit d27ba46d5b
11 changed files with 216 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
---
swap_file_path: /swapfile
swap_file_size_mb: '512'
swap_swappiness: '60'
swap_file_state: present
swap_file_create_command: "dd if=/dev/zero of={{ swap_file_path }} bs=1M count={{ swap_file_size_mb }}"
swap_test_mode: false