mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-10-10 10:48:10 +02:00
15 lines
422 B
YAML
15 lines
422 B
YAML
- name: Install '
|
|
include_role:
|
|
name: pkgmgr-install
|
|
vars:
|
|
package_name: "{{ SWAPFILE_PKG }}"
|
|
when: run_once_pkgmgr_install is not defined
|
|
|
|
- name: Execute create swapfile script
|
|
shell: "{{ SWAPFILE_PKG }} '{{ SWAPFILE_SIZE }}'"
|
|
become: true
|
|
async: "{{ ASYNC_TIME if ASYNC_ENABLED | bool else omit }}"
|
|
poll: "{{ ASYNC_POLL if ASYNC_ENABLED | bool else omit }}"
|
|
|
|
- include_tasks: utils/run_once.yml
|