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 }}"
|
hc_uid: "{{ vault_node002.backup.hc_uid }}"
|
||||||
uptime_kuma_token: "{{ vault_node002.backup.uptime_kuma_token }}"
|
uptime_kuma_token: "{{ vault_node002.backup.uptime_kuma_token }}"
|
||||||
volumes:
|
volumes:
|
||||||
- gitea_data
|
- forgejo_data
|
||||||
|
- homebox_data
|
||||||
- influxdb_data
|
- influxdb_data
|
||||||
|
- jellyfin_config
|
||||||
|
#- jellyfin_media # TODO
|
||||||
- reitanlage-oranienburg_data
|
- reitanlage-oranienburg_data
|
||||||
- synapse_media_store
|
- synapse_media_store
|
||||||
- tandoor_mediafiles
|
- tandoor_mediafiles
|
||||||
|
- uptime-kuma_data
|
||||||
|
|
||||||
|
|
|
@ -75,7 +75,8 @@
|
||||||
cmd: docker compose build --pull
|
cmd: docker compose build --pull
|
||||||
chdir: "{{ service_path }}"
|
chdir: "{{ service_path }}"
|
||||||
register: cmd_result
|
register: cmd_result
|
||||||
changed_when: true # TODO
|
when: docker_rebuild
|
||||||
|
changed_when: true
|
||||||
|
|
||||||
- name: Verify service
|
- name: Verify service
|
||||||
ansible.builtin.command:
|
ansible.builtin.command:
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
when:
|
when:
|
||||||
- docker_rebuild
|
- docker_rebuild
|
||||||
register: cmd_result
|
register: cmd_result
|
||||||
changed_when: true # TODO
|
changed_when: true
|
||||||
|
|
||||||
- name: Build service
|
- name: Build service
|
||||||
ansible.builtin.command:
|
ansible.builtin.command:
|
||||||
|
@ -17,7 +17,7 @@
|
||||||
- docker_update is defined
|
- docker_update is defined
|
||||||
- docker_update
|
- docker_update
|
||||||
register: cmd_result
|
register: cmd_result
|
||||||
changed_when: true # TODO
|
changed_when: true
|
||||||
|
|
||||||
- name: Pull service
|
- name: Pull service
|
||||||
ansible.builtin.command:
|
ansible.builtin.command:
|
||||||
|
@ -28,7 +28,7 @@
|
||||||
- docker_update is defined
|
- docker_update is defined
|
||||||
- docker_update
|
- docker_update
|
||||||
register: cmd_result
|
register: cmd_result
|
||||||
changed_when: true # TODO
|
changed_when: true
|
||||||
|
|
||||||
- name: Start service
|
- name: Start service
|
||||||
ansible.builtin.command:
|
ansible.builtin.command:
|
||||||
|
|
Reference in a new issue