From 097f73292272dda4338ee975982a8bb68f68218e Mon Sep 17 00:00:00 2001 From: Jeremy Lecour Date: Thu, 8 Feb 2018 15:32:52 +0100 Subject: [PATCH] evolinux-users: evomaintenance trap detection also with check_mode --- evolinux-users/tasks/profile.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/evolinux-users/tasks/profile.yml b/evolinux-users/tasks/profile.yml index 99af2512..177d7628 100644 --- a/evolinux-users/tasks/profile.yml +++ b/evolinux-users/tasks/profile.yml @@ -4,6 +4,7 @@ command: 'grep -q "trap.*sudo.*evomaintenance.sh"' changed_when: False failed_when: False + check_mode: no register: grep_profile_evomaintenance # Don't add the trap if it is present or commented