evolinux-users: evomaintenance trap detection also with check_mode

This commit is contained in:
Jérémy Lecour 2018-02-08 15:32:52 +01:00 committed by Jérémy Lecour
parent c18b83d974
commit 097f732922
1 changed files with 1 additions and 0 deletions

View File

@ -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