mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-24 10:31:56 +08:00
GNOME Backups: make sure the MAILTO environment variable gets populated
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user