add swapfile role
This commit is contained in:
8
roles/swapfile/defaults/main.yml
Normal file
8
roles/swapfile/defaults/main.yml
Normal 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
|
||||
Reference in New Issue
Block a user