From ed21f033924e402798b860f36d86744c7fd7fc1c Mon Sep 17 00:00:00 2001 From: Brendan Shephard Date: Mon, 13 Jan 2025 09:41:59 +1000 Subject: [PATCH] Skip swapfile creation for bootc Signed-off-by: Brendan Shephard --- roles/edpm_bootstrap/tasks/swap.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/edpm_bootstrap/tasks/swap.yml b/roles/edpm_bootstrap/tasks/swap.yml index 2ce1c8522..f2053e7cc 100644 --- a/roles/edpm_bootstrap/tasks/swap.yml +++ b/roles/edpm_bootstrap/tasks/swap.yml @@ -16,6 +16,7 @@ - name: Configure swap file when: + - not ansible_local.bootc - not edpm_bootstrap_swap_partition_enabled|bool - edpm_bootstrap_swap_size_megabytes|int > 0 become: true