evolinux-users: really look for evomaintenance

The file was missing in the grep command :/
This commit is contained in:
Jérémy Lecour 2018-04-15 22:22:08 +02:00
parent 65353394ef
commit cb77509da4

View file

@ -75,10 +75,10 @@
mode: "0700"
state: directory
# Evomaintenance
# Evomaintenance
- name: Search profile for presence of evomaintenance
command: 'grep -q "trap.*sudo.*evomaintenance.sh"'
command: 'grep -q "trap.*sudo.*evomaintenance.sh" /home/{{ user.name }}/.profile'
changed_when: False
failed_when: False
check_mode: no