do not error on second run

This commit is contained in:
Miroslav Suchý 2020-02-25 13:24:29 +01:00 committed by Pierre-Yves Chibon
parent 18519c9a09
commit 03d18ee2f6

View file

@ -50,7 +50,7 @@
- swap
- name: Mount swap
command: "swapon {{ swap_file_path }}"
command: "swapon -a"
#when: ansible_swaptotal_mb|int < 1
tags:
- swap.file.swapon