Skip to content

Set or change the size of the swap file

By default the swap file will be twice as big as the system memory but you can adjust the size by defining the variable swap_space for each host individually. After you've done that, deploy that change with the command

1
ascr role common --tags=swap --extra-vars="reset=true" --limit=[HOSTNAME]

Last update: January 12, 2021 18:06:10