swap: fix file creation to be idempotent

This commit is contained in:
Jakub Kadlcik 2022-01-23 22:58:00 +01:00
parent 12dd3933cc
commit 358b3c5130

View file

@ -5,7 +5,6 @@
- name: Touch an empty file that we will use for swap
file:
path: "{{ swap_file_path }}"
state: touch
register: swap_touch
- name: On BTRFS we need NoCOW