Fix swap bug

This commit is contained in:
Adrien Reslinger 2020-04-25 02:23:35 +02:00
parent c7eacf1656
commit 8d8a1e1dcb
2 changed files with 10 additions and 0 deletions

View file

@ -13,6 +13,10 @@
# when:
# - kubernetes_cri_changed is changed
- name: Disable SWAP since kubernetes can't work with swap enabled (1/2)
shell: |
swapoff -a
- name: Remove swapfile from /etc/fstab
mount:
name: swap