forked from evolix/ansible-roles
evolinux-users: really look for evomaintenance
The file was missing in the grep command :/
This commit is contained in:
parent
a782ef3180
commit
5bcd7e44cf
|
@ -75,10 +75,10 @@
|
||||||
mode: "0700"
|
mode: "0700"
|
||||||
state: directory
|
state: directory
|
||||||
|
|
||||||
# Evomaintenance
|
# Evomaintenance
|
||||||
|
|
||||||
- name: Search profile for presence of 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
|
changed_when: False
|
||||||
failed_when: False
|
failed_when: False
|
||||||
check_mode: no
|
check_mode: no
|
||||||
|
|
Loading…
Reference in a new issue