evolinux-users: create .profile for evomaintenance if missing
This commit is contained in:
parent
94118b2536
commit
84924c38f4
|
@ -14,4 +14,5 @@
|
||||||
dest: '/home/{{ user.name }}/.profile'
|
dest: '/home/{{ user.name }}/.profile'
|
||||||
insertafter: EOF
|
insertafter: EOF
|
||||||
line: 'trap "sudo /usr/share/scripts/evomaintenance.sh" 0'
|
line: 'trap "sudo /usr/share/scripts/evomaintenance.sh" 0'
|
||||||
|
create: yes
|
||||||
when: grep_profile_evomaintenance.rc != 0
|
when: grep_profile_evomaintenance.rc != 0
|
||||||
|
|
Loading…
Reference in a new issue