From 2a8aebf309268705d5ad8abd372e9b4976ef03de Mon Sep 17 00:00:00 2001 From: Slavi Pantaleev Date: Thu, 23 Mar 2023 11:21:07 +0200 Subject: [PATCH] Add warning about subsequent system_swap_size changes --- docs/services/system.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/services/system.md b/docs/services/system.md index bdbad60..430f3e5 100644 --- a/docs/services/system.md +++ b/docs/services/system.md @@ -36,6 +36,8 @@ To avoid these calculations and set your own size explicitly, set the `system_sw system_swap_size: 4096 ``` +**Warning**: changing `system_swap_size` subsequently will not recreate the SWAP file with the new size. You will need to disable swap, re-run the playbook (to make it clean up), then enable it again with the new size. + ### ssh > **Warning**: advanced functionality! While the default config with a few adjustments was battle tested on hundreds of servers,