Add backup volumes
This commit is contained in:
parent
4f78590e8a
commit
13100548b9
3 changed files with 10 additions and 5 deletions
|
@ -5,9 +5,13 @@ host_backup:
|
|||
hc_uid: "{{ vault_node002.backup.hc_uid }}"
|
||||
uptime_kuma_token: "{{ vault_node002.backup.uptime_kuma_token }}"
|
||||
volumes:
|
||||
- gitea_data
|
||||
- forgejo_data
|
||||
- homebox_data
|
||||
- influxdb_data
|
||||
- jellyfin_config
|
||||
#- jellyfin_media # TODO
|
||||
- reitanlage-oranienburg_data
|
||||
- synapse_media_store
|
||||
- tandoor_mediafiles
|
||||
- uptime-kuma_data
|
||||
|
||||
|
|
|
@ -75,7 +75,8 @@
|
|||
cmd: docker compose build --pull
|
||||
chdir: "{{ service_path }}"
|
||||
register: cmd_result
|
||||
changed_when: true # TODO
|
||||
when: docker_rebuild
|
||||
changed_when: true
|
||||
|
||||
- name: Verify service
|
||||
ansible.builtin.command:
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
when:
|
||||
- docker_rebuild
|
||||
register: cmd_result
|
||||
changed_when: true # TODO
|
||||
changed_when: true
|
||||
|
||||
- name: Build service
|
||||
ansible.builtin.command:
|
||||
|
@ -17,7 +17,7 @@
|
|||
- docker_update is defined
|
||||
- docker_update
|
||||
register: cmd_result
|
||||
changed_when: true # TODO
|
||||
changed_when: true
|
||||
|
||||
- name: Pull service
|
||||
ansible.builtin.command:
|
||||
|
@ -28,7 +28,7 @@
|
|||
- docker_update is defined
|
||||
- docker_update
|
||||
register: cmd_result
|
||||
changed_when: true # TODO
|
||||
changed_when: true
|
||||
|
||||
- name: Start service
|
||||
ansible.builtin.command:
|
||||
|
|
Reference in a new issue