Revert "try this"

This reverts commit 68ff759fc4ec7bab9d305635bb37efba04efbbec.
This commit is contained in:
Miroslav Suchý 2020-02-24 20:13:47 +01:00 committed by Pierre-Yves Chibon
parent f4049fd824
commit 1c2cfed97a

View file

@ -44,7 +44,14 @@
opts=sw
passno=0
dump=0
state=mounted
state=present
tags:
- swap.fstab
- swap
- name: Mount swap
command: "swapon {{ swap_file_path }}"
when: ansible_swaptotal_mb|int < 1
tags:
- swap.file.swapon
- swap