Add internal Postgres instance (if enabled) to postgres-backup dependencies

This commit is contained in:
Slavi Pantaleev 2022-11-30 11:22:00 +02:00
parent d5ea17d66f
commit 0a018ac22b
1 changed files with 7 additions and 0 deletions

View File

@ -2520,6 +2520,13 @@ devture_postgres_backup_architecture: "{{ matrix_architecture }}"
devture_postgres_backup_base_path: "{{ matrix_base_data_path }}/postgres-backup"
devture_postgres_backup_systemd_required_services_list: |
{{
(['docker.service'])
+
([(devture_postgres_identifier + '.service')] if devture_postgres_enabled else [])
}}
devture_postgres_backup_container_network: "{{ matrix_docker_network }}"
devture_postgres_backup_uid: "{{ matrix_user_uid }}"