forked from evolix/ansible-roles
evolinux-users: evomaintenance trap detection also with check_mode
This commit is contained in:
parent
c18b83d974
commit
097f732922
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue