Add stage parameter for backup hooks and add immich_upload backup

This commit is contained in:
Tobias Reisinger 2025-11-15 21:46:32 +01:00
parent 4db5c1878b
commit 759368b6d6
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
8 changed files with 49 additions and 11 deletions

View file

@ -25,6 +25,12 @@
content: '{{ backup_yml_all | to_nice_yaml }}'
mode: "0644"
- name: Create rclone.conf
ansible.builtin.copy:
dest: "{{ (service_path, 'rclone.conf') | path_join }}"
content: '{{ vault_backup.rclone }}'
mode: "0600"
- name: Import tasks specific to the hooks scripts
ansible.builtin.import_tasks: hooks.yml
- name: Import tasks specific to the recovery scripts