Release of EvoBSD 6.8.0 #37

Merged
jlecour merged 168 commits from dev into master 2020-10-23 12:13:36 +02:00
Showing only changes of commit f97317b767 - Show all commits

View file

@ -4,10 +4,20 @@
path: /etc/rc.local
line:
'date | mail -s "boot/reboot of $(hostname -s)" {{ general_alert_email }}'
insertbefore: 'echo'
create: true
tags:
- misc
- name: Delete rc.local entry of boot/reboot not precising hostname
lineinfile:
path: /etc/rc.local
regexp:
"^.* mail -s (?!.*of.*).+$"
state: absent
tags:
- misc
- name: Set root mail alias
replace:
dest: /etc/mail/aliases