commit 2a3fdb7b44c4b19818e88d30cbfae45d9ca07874
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Tue Feb 6 22:59:12 2018 +0100
Add check mode
tasks/create_swap_file.yml | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/tasks/create_swap_file.yml b/tasks/create_swap_file.yml
index a02ce6e..7cba56f 100644
--- a/tasks/create_swap_file.yml
+++ b/tasks/create_swap_file.yml
@@ -16,6 +16,7 @@
- name: Check swap file type
command: file {{ swap_file_path }}
+ check_mode: no
register: swapfile
- name: Make swap file