From 746db74cdf17a260a4cdfd0e0eb388da2254d2e7 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 e7b4c3d86cf..53bcf2d1218 100644 --- a/roles/kubernetes/preinstall/tasks/0010-swapoff.yml +++ b/roles/kubernetes/preinstall/tasks/0010-swapoff.yml @@ -6,8 +6,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']