mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-01-28 23:04:43 -03:30
11 lines
180 B
YAML
11 lines
180 B
YAML
---
|
|
- name: Remove swapfile from /etc/fstab
|
|
mount:
|
|
name: swap
|
|
fstype: swap
|
|
state: absent
|
|
|
|
- name: Disable swap
|
|
command: swapoff -a
|
|
when: ansible_swaptotal_mb > 0
|