mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
try this
This commit is contained in:
committed by
Pierre-Yves Chibon
parent
f989ed90a0
commit
f4049fd824
@@ -44,14 +44,7 @@
|
||||
opts=sw
|
||||
passno=0
|
||||
dump=0
|
||||
state=present
|
||||
state=mounted
|
||||
tags:
|
||||
- swap.fstab
|
||||
- swap
|
||||
|
||||
- name: Mount swap
|
||||
command: "swapon {{ swap_file_path }}"
|
||||
when: ansible_swaptotal_mb|int < 1
|
||||
tags:
|
||||
- swap.file.swapon
|
||||
- swap
|
||||
|
||||
Reference in New Issue
Block a user