mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Set default swapfile size to memory size
This commit is contained in:
@@ -1 +1 @@
|
||||
swapfile_size: 4GB
|
||||
swapfile_size: "{{ ansible_memtotal_mb | int }}M"
|
@@ -5,5 +5,5 @@
|
||||
package_name: swap-forge
|
||||
|
||||
- name: Execute create swapfile script
|
||||
ansible.builtin.shell: swap-forge "{{swapfile_size}}"
|
||||
shell: swap-forge "{{swapfile_size}}"
|
||||
become: true
|
Reference in New Issue
Block a user