From 87dcac12e7cd0b343205c5cee3cc60018d06897e Mon Sep 17 00:00:00 2001 From: Guillaume Parent Date: Sun, 19 Nov 2023 17:51:20 +0000 Subject: [PATCH] Get Samba version even in check mode to allow testing configuration changes --- roles/server/tasks/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/server/tasks/main.yml b/roles/server/tasks/main.yml index e874ca9..b744bd8 100644 --- a/roles/server/tasks/main.yml +++ b/roles/server/tasks/main.yml @@ -32,6 +32,7 @@ executable: /bin/bash register: samba_version changed_when: false + check_mode: false tags: samba - name: Create Samba shares root directory