Skip to content
Snippets Groups Projects
Commit 90a7941d authored by Maxim Snezhkov's avatar Maxim Snezhkov Committed by Kubernetes Prow Robot
Browse files

Fix disabling swap on ubuntu systems (#3864)

parent 3e3ee0ae
No related branches found
No related tags found
No related merge requests found
--- ---
- 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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment