From af155e62aded19270a493186d5618393e0bd681a Mon Sep 17 00:00:00 2001 From: Max Gautier Date: Fri, 3 Nov 2023 10:44:54 +0100 Subject: [PATCH] Don't explicitly disable swapOnZram We're already masking the swap.target, which would pull the zram unit, hence no need to handle zram-generator specifically. --- roles/kubernetes/preinstall/tasks/0010-swapoff.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/roles/kubernetes/preinstall/tasks/0010-swapoff.yml b/roles/kubernetes/preinstall/tasks/0010-swapoff.yml index e1671557e10..1034f1d938f 100644 --- a/roles/kubernetes/preinstall/tasks/0010-swapoff.yml +++ b/roles/kubernetes/preinstall/tasks/0010-swapoff.yml @@ -17,8 +17,3 @@ - name: Disable swap command: /sbin/swapoff -a - -- name: Disable swapOnZram for Fedora - command: touch /etc/systemd/zram-generator.conf - when: - - ansible_distribution in ['Fedora']