1
0
mirror of https://github.com/spantaleev/matrix-docker-ansible-deploy.git synced 2025-06-12 22:17:28 +02:00

- removed dynamic building of the postgres db list an reused matrix_postgres_additional_databases in group_vars/matrix_servers as source for the list

- adjusted env-postgres-backup.j2 to use the new role specific variables
This commit is contained in:
foxcris
2021-03-16 10:49:04 +01:00
parent 604ffe7d79
commit 43f7d9afb6
5 changed files with 9 additions and 111 deletions

View File

@ -3,7 +3,6 @@
#
# Tasks related to setting up an internal postgres server
#
- import_tasks: "{{ role_path }}/tasks/util/detect_existing_postgres_version.yml"
when: matrix_postgres_enabled|bool
@ -34,10 +33,6 @@
- "{{ matrix_postgres_backup_path }}"
when: matrix_postgres_backup_enabled|bool
#Build database list to backup
- import_tasks: "{{ role_path }}/tasks/build_database_list.yml"
when: matrix_postgres_backup_enabled|bool
- name: Ensure Postgres environment variables file created
template:
src: "{{ role_path }}/templates/{{ item }}.j2"