kayobe/ansible/roles/swap/defaults/main.yml
Mark Goddard 0c074431d0 Support configuration of swap
Supports creating and using swap files, or using pre-existing swap
devices.

Story: 2004958
Task: 29390

Change-Id: Iadb540f42036a4a63cdd5b695b82f1504b3a4a28
2022-12-07 14:23:18 +00:00

7 lines
205 B
YAML

---
# List of swap devices. Each item is a dict containing a 'device' item.
swap: []
# Command to use to create a swap file.
swap_file_create_command: "fallocate -l {{ item.size_mb }}MiB {{ item.path }}"