diff --git a/tasks/swap.yml b/tasks/swap.yml index 1816f4388f..d37d2afabb 100644 --- a/tasks/swap.yml +++ b/tasks/swap.yml @@ -15,7 +15,9 @@ file: path: "{{ swap_file_path }}" attr: +C - when: swap_touch.changed + when: + - swap_touch.changed + - ansible_distribution == 'Fedora' tags: - swap