From e16868a78da8309b89b2bedbb91d028110ccc5f8 Mon Sep 17 00:00:00 2001 From: Sandwich Date: Thu, 31 Oct 2024 15:56:42 +0100 Subject: [PATCH] remove zram for rhel8 since no support --- roles/bootstrap/vars/packages.yml | 1 - roles/configuration/tasks/main.yml | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/bootstrap/vars/packages.yml b/roles/bootstrap/vars/packages.yml index 27321d2..91b0a89 100644 --- a/roles/bootstrap/vars/packages.yml +++ b/roles/bootstrap/vars/packages.yml @@ -178,7 +178,6 @@ rhel8: - shim - telnet - vim - - zram-generator - zstd rhel9: diff --git a/roles/configuration/tasks/main.yml b/roles/configuration/tasks/main.yml index 8d0e663..f25ae85 100644 --- a/roles/configuration/tasks/main.yml +++ b/roles/configuration/tasks/main.yml @@ -202,6 +202,7 @@ mode: '0644' - name: Create zram config + when: os != 'rhel8' ansible.builtin.copy: dest: /mnt/etc/systemd/zram-generator.conf content: |