system/swap That role creates swap file and configures system to mount it and use automatically prerequisites vars: system_swap_enabled: true NOTE: check defaults/main.yml to see full list of config options