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 3, 2023
1 parent 6791f95 commit af155e6
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 @@ -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']

0 comments on commit af155e6

Please sign in to comment.