mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-09-24 11:06:24 +02:00
Optimized Swapfiles variables and enabled async
This commit is contained in:
@@ -13,5 +13,7 @@
|
||||
package_name: swap-forge
|
||||
|
||||
- name: Execute create swapfile script
|
||||
shell: swap-forge "{{swapfile_size}}"
|
||||
shell: swap-forge "{{ SWAPFILE_SIZE }}"
|
||||
become: true
|
||||
async: "{{ ASYNC_TIME if ASYNC_ENABLED | bool else omit }}"
|
||||
poll: "{{ ASYNC_POLL if ASYNC_ENABLED | bool else omit }}"
|
@@ -1,2 +1,3 @@
|
||||
application_id: "svc-opt-swapfile"
|
||||
swapfile_size: "{{ applications | get_app_conf(application_id, 'swapfile_size') }}"
|
||||
|
||||
SWAPFILE_SIZE: "{{ applications | get_app_conf(application_id, 'swapfile_size') }}"
|
Reference in New Issue
Block a user