Specify backup dirs per-desktop

This commit is contained in:
Salt 2021-08-20 15:07:27 -05:00
parent 227f5828cd
commit 7d3e8b5a86

View File

@ -11,12 +11,6 @@
mount: path=/nfs/pi-storage-1.desu.ltd src=pi-storage-1.desu.ltd:/srv/nfs fstype=nfs4 opts="rsize=10248576,wsize=1048576,soft,timeo=600,retrans=2" state=mounted
tags: [ desktop, nfs ]
roles:
- role: backup
vars:
backup_s3backup_tar_args_extra: h
backup_s3backup_list_extra:
- /home/salt/.backup/
tags: [ backup ]
- role: udev
vars:
udev_rules:
@ -27,6 +21,13 @@
tags: [ desktop, pulse, pulseaudio ]
- hosts: lap-s76-lemp9-0.desu.ltd
roles:
- role: backup
vars:
backup_s3backup_tar_args_extra: h
backup_s3backup_list_extra:
- /home/salt/.backup/
- /home/salt-work/.backup/
tags: [ backup ]
- role: desktop
vars:
desktop_apt_keys_url_extra:
@ -63,6 +64,12 @@
tags: [ desktop, grub ]
- hosts: dsk-ryzen-0.desu.ltd
roles:
- role: backup
vars:
backup_s3backup_tar_args_extra: h
backup_s3backup_list_extra:
- /home/salt/.backup/
tags: [ backup ]
- role: desktop
tags: [ desktop, desktop-role ]
# - role: grub