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