From ceb09825ed8117352ede4e236d6279c224b51470 Mon Sep 17 00:00:00 2001 From: Jacob Cody Wimer Date: Mon, 27 Aug 2018 08:16:48 -0400 Subject: [PATCH] Fix swap in fstab --- roles/common/tasks/swap.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/common/tasks/swap.yml b/roles/common/tasks/swap.yml index 7c68b04..b1eda11 100644 --- a/roles/common/tasks/swap.yml +++ b/roles/common/tasks/swap.yml @@ -42,7 +42,7 @@ lineinfile: dest=/etc/fstab regexp="^/swapfile" state=present - line="/swapfile none swap sw 0 0" + line="/swapfile swap swap defaults 0 0" - name: set swappiness (temporarily) when: swapfile|failed