Define machine-specific backups
This commit is contained in:
parent
00fb2bb32e
commit
58a9827b28
@ -4,6 +4,12 @@
|
||||
---
|
||||
- hosts: psql1.desu.ltd
|
||||
roles:
|
||||
- role: backup
|
||||
vars:
|
||||
backup_s3backup_list_extra:
|
||||
- /var/lib/postgresql
|
||||
become: yes
|
||||
tags: [ backup ]
|
||||
- role: postgresql
|
||||
vars:
|
||||
postgresql_global_config_options:
|
||||
|
@ -19,6 +19,13 @@
|
||||
become: yes
|
||||
tags: [ desktop, python, cap ]
|
||||
roles:
|
||||
- role: backup
|
||||
vars:
|
||||
backup_s3backup_tar_args_extra: h
|
||||
backup_s3backup_list_extra:
|
||||
- /home/salt/.backup/
|
||||
become: yes
|
||||
tags: [ backup ]
|
||||
- role: desktop
|
||||
become: yes
|
||||
tags: [ desktop ]
|
||||
|
@ -4,6 +4,13 @@
|
||||
---
|
||||
- hosts: game1.thefuck.how
|
||||
roles:
|
||||
- role: backup
|
||||
vars:
|
||||
backup_s3backup_list_extra:
|
||||
- /opt/minecraft/valhelsia/world
|
||||
- /opt/factorio
|
||||
become: yes
|
||||
tags: [ backup ]
|
||||
- role: minecraft
|
||||
vars:
|
||||
minecraft_name: valhelsia
|
||||
|
@ -4,6 +4,13 @@
|
||||
---
|
||||
- hosts: web1.desu.ltd
|
||||
roles:
|
||||
- role: backup
|
||||
vars:
|
||||
backup_s3backup_list_extra:
|
||||
- /var/lib/gitea
|
||||
- /var/www/html/nextcloud
|
||||
become: yes
|
||||
tags: [ backup ]
|
||||
- role: apache
|
||||
vars:
|
||||
apache_remove_default_vhost: yes
|
||||
|
Loading…
Reference in New Issue
Block a user