From 057224fb38a1d73ba69b4da86c75cf9e83bced71 Mon Sep 17 00:00:00 2001 From: David Prevot Date: Fri, 25 Nov 2022 15:56:19 +0100 Subject: [PATCH] Skip task in check_mode --- lxc-php/tasks/umask.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/lxc-php/tasks/umask.yml b/lxc-php/tasks/umask.yml index 4a2fde5d..170851ab 100644 --- a/lxc-php/tasks/umask.yml +++ b/lxc-php/tasks/umask.yml @@ -25,6 +25,7 @@ regex: "^UMask=" line: "UMask=0007" insertafter: "\\[Service\\]" + when: not ansible_check_mode notify: - "Daemon reload" - "Restart PHP-FPM"