GNOME Backups: drop legacy ansible variables and make sure every description has GNOME in it to avoid misunderstandings

This commit is contained in:
Andrea Veri 2014-01-14 18:26:57 +00:00
parent ad8b05b155
commit c381898d11

View file

@ -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