mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-27 03:52:09 +08:00
Also only run the gnome backups on backup03 until we are ready to move things over.
This commit is contained in:
@@ -50,6 +50,7 @@
|
||||
|
||||
- name: Schedule the GNOME backup script
|
||||
cron: name="Backup" hour=5 minute=0 job="(cd /fedora_backups/gnome/; /usr/local/bin/lock-wrapper gnomebackup /usr/local/bin/gnome_backup)" user=gnomebackup
|
||||
when: inventory_hostname.startswith('backup03')
|
||||
|
||||
- name: Add a Directory for each of the GNOME machines
|
||||
file: dest=/fedora_backups/gnome/{{ item }} owner=gnomebackup group=gnomebackup state=directory
|
||||
|
||||
Reference in New Issue
Block a user