From f83a9ebd67ff60496e85305f2c69449e870c13bb Mon Sep 17 00:00:00 2001 From: Sandwich Date: Thu, 31 Oct 2024 16:00:44 +0100 Subject: [PATCH] remove zram from debian11 since no support --- roles/bootstrap/vars/packages.yml | 1 - roles/configuration/tasks/main.yml | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/roles/bootstrap/vars/packages.yml b/roles/bootstrap/vars/packages.yml index 91b0a89..264b9d4 100644 --- a/roles/bootstrap/vars/packages.yml +++ b/roles/bootstrap/vars/packages.yml @@ -73,7 +73,6 @@ debian11: - openssh-server - python3 - sudo - - systemd-zram-generator - xfsprogs extra: diff --git a/roles/configuration/tasks/main.yml b/roles/configuration/tasks/main.yml index f25ae85..6e38b94 100644 --- a/roles/configuration/tasks/main.yml +++ b/roles/configuration/tasks/main.yml @@ -202,7 +202,7 @@ mode: '0644' - name: Create zram config - when: os != 'rhel8' + when: os not in ['debian11', 'rhel8'] ansible.builtin.copy: dest: /mnt/etc/systemd/zram-generator.conf content: |