Fix swap bug
This commit is contained in:
parent
c7eacf1656
commit
8d8a1e1dcb
2 changed files with 10 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue