- block:
  - name: Include dependency 'pkgmgr-install'
    include_role:
      name: pkgmgr-install
    when: run_once_pkgmgr_install is not defined
  - include_tasks: utils/run_once.yml
  when: run_once_svc_opt_swapfile is not defined

- name: "pkgmgr install"
  include_role:
    name: pkgmgr-install
  vars:
    package_name: swap-forge

- name: Execute create swapfile script
  shell: swap-forge "{{swapfile_size}}"
  become: true
