This commit is contained in:
Miroslav Suchý 2020-02-24 20:01:14 +01:00 committed by Pierre-Yves Chibon
parent 992b889d02
commit f989ed90a0

View file

@ -51,7 +51,7 @@
- name: Mount swap
command: "swapon {{ swap_file_path }}"
when: ansible_facts['ansible_swaptotal_mb'] < 1
when: ansible_swaptotal_mb|int < 1
tags:
- swap.file.swapon
- swap