GNOME Backups: make sure the MAILTO environment variable gets populated

This commit is contained in:
Andrea Veri 2016-03-30 08:13:25 +00:00
parent ffb3dd03df
commit dbaf548ed1

View file

@ -19,6 +19,9 @@
- name: Schedule the GNOME backup script
cron: name="Backup" hour=5 minute=0 job="(cd /gnome_backups; /usr/local/bin/lock-wrapper gnomebackup /usr/local/bin/gnome_backup)" user=gnomebackup
- name: Make sure the MAILTO environment variable gets populated
- cronvar: name="MAILTO" value="backups@gnome.org" user=gnomebackup
- name: Add a Directory for each of the GNOME machines
file: dest=/gnome_backups/{{ item }} owner=gnomebackup group=gnomebackup state=directory
with_items: