mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-04-14 14:39:32 -02:30
Fix disabling swap on ubuntu systems (#3864)
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
3e3ee0aeb1
commit
90a7941d56
@@ -1,9 +1,12 @@
|
|||||||
---
|
---
|
||||||
- name: Remove swapfile from /etc/fstab
|
- name: Remove swapfile from /etc/fstab
|
||||||
mount:
|
mount:
|
||||||
name: swap
|
name: "{{ item }}"
|
||||||
fstype: swap
|
fstype: swap
|
||||||
state: absent
|
state: absent
|
||||||
|
with_items:
|
||||||
|
- swap
|
||||||
|
- none
|
||||||
|
|
||||||
- name: Disable swap
|
- name: Disable swap
|
||||||
command: swapoff -a
|
command: swapoff -a
|
||||||
|
|||||||
Reference in New Issue
Block a user