diff --git a/playbooks/groups/backup-server.yml b/playbooks/groups/backup-server.yml index 410f4e540b..a0fa56af28 100644 --- a/playbooks/groups/backup-server.yml +++ b/playbooks/groups/backup-server.yml @@ -32,11 +32,11 @@ - name: Create GNOME backup user user: name=gnomebackup state=present home=/fedora_backups/gnome/ createhome=yes shell=/sbin/nologin - - name: Add a Directory for the Excludes list + - name: Add a Directory for the Excludes list for each of the backed up GNOME machines file: dest=/fedora/backups/gnome/excludes owner=gnomebackup group=gnomebackup state=directory - - name: Install the SSH configuration file - copy: src=$files/gnome/ssh_config dest=/usr/local/etc/gnome_ssh_config mode=0600 owner=gnomebackup + - name: Install the GNOME SSH configuration file + copy: src="{{ files }}/gnome/ssh_config" dest=/usr/local/etc/gnome_ssh_config mode=0600 owner=gnomebackup - name: Install GNOME backup key copy: src="{{ private }}/files/gnome/backup_id.rsa" dest=/usr/local/etc/gnome_backup_id.rsa mode=0600 owner=gnomebackup @@ -47,7 +47,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 - - name: Add Directories + - name: Add a Directory for each of the GNOME machines file: dest=/fedora_backups/gnome/{{ item }} owner=gnomebackup group=gnomebackup state=directory with_items: - signal.gnome.org