Skip to content

Commit

Permalink
Do not remove swap from fstab if swap is allowed
Browse files Browse the repository at this point in the history
  • Loading branch information
Manuelraa committed Apr 30, 2023
1 parent a505a4c commit e97f346
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion roles/kubernetes/preinstall/tasks/0010-swapoff.yml
Expand Up @@ -4,7 +4,8 @@
name: "{{ item }}"
fstype: swap
state: absent
with_items:
when: kubelet_fail_swap_on | default(True)
loop:
- swap
- none

Expand Down

0 comments on commit e97f346

Please sign in to comment.