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