GNOME Backups: make sure the MAILTO environment variable gets populated
This commit is contained in:
parent
ffb3dd03df
commit
dbaf548ed1
1 changed files with 3 additions and 0 deletions
|
@ -19,6 +19,9 @@
|
||||||
- name: Schedule the GNOME backup script
|
- 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
|
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
|
- name: Add a Directory for each of the GNOME machines
|
||||||
file: dest=/gnome_backups/{{ item }} owner=gnomebackup group=gnomebackup state=directory
|
file: dest=/gnome_backups/{{ item }} owner=gnomebackup group=gnomebackup state=directory
|
||||||
with_items:
|
with_items:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue