try this
This commit is contained in:
parent
f989ed90a0
commit
f4049fd824
1 changed files with 1 additions and 8 deletions
|
@ -44,14 +44,7 @@
|
||||||
opts=sw
|
opts=sw
|
||||||
passno=0
|
passno=0
|
||||||
dump=0
|
dump=0
|
||||||
state=present
|
state=mounted
|
||||||
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