Revert "try this"
This reverts commit 68ff759fc4ec7bab9d305635bb37efba04efbbec.
This commit is contained in:
parent
f4049fd824
commit
1c2cfed97a
1 changed files with 8 additions and 1 deletions
|
@ -44,7 +44,14 @@
|
||||||
opts=sw
|
opts=sw
|
||||||
passno=0
|
passno=0
|
||||||
dump=0
|
dump=0
|
||||||
state=mounted
|
state=present
|
||||||
tags:
|
tags:
|
||||||
- swap.fstab
|
- swap.fstab
|
||||||
- swap
|
- swap
|
||||||
|
|
||||||
|
- name: Mount swap
|
||||||
|
command: "swapon {{ swap_file_path }}"
|
||||||
|
when: ansible_swaptotal_mb|int < 1
|
||||||
|
tags:
|
||||||
|
- swap.file.swapon
|
||||||
|
- swap
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue