Skip to content

Commit

Permalink
Don't explicitly disable swapOnZram
Browse files Browse the repository at this point in the history
We're already masking the swap.target, which would pull the zram unit,
hence no need to handle zram-generator specifically.
  • Loading branch information
VannTen committed Nov 18, 2023
1 parent a7e8d3a commit 746db74
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions roles/kubernetes/preinstall/tasks/0010-swapoff.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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']

0 comments on commit 746db74

Please sign in to comment.