mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-16 00:47:29 +02:00
Solved bbb backup bug
This commit is contained in:
parent
2f02ad6c15
commit
90ad688ca9
@ -5,10 +5,10 @@ _database_consumer_entity_name: "{{ database_application_id | get_entity_name
|
|||||||
_database_central_enabled: "{{ applications | get_app_conf(database_application_id, 'features.central_database', False) }}"
|
_database_central_enabled: "{{ applications | get_app_conf(database_application_id, 'features.central_database', False) }}"
|
||||||
|
|
||||||
# Definition
|
# Definition
|
||||||
database_name: "{{ applications | get_app_conf( database_application_id, 'database.name', false, _database_consumer_entity_name ) }}" # The overwritte configuration is needed by bigbluebutton
|
database_name: "{{ _database_consumer_entity_name }}"
|
||||||
database_instance: "{{ _database_central_name if _database_central_enabled else database_name }}" # This could lead to bugs at dedicated database @todo cleanup
|
database_instance: "{{ _database_central_name if _database_central_enabled else database_name }}" # This could lead to bugs at dedicated database @todo cleanup
|
||||||
database_host: "{{ _database_central_name if _database_central_enabled else 'database' }}" # This could lead to bugs at dedicated database @todo cleanup
|
database_host: "{{ _database_central_name if _database_central_enabled else 'database' }}" # This could lead to bugs at dedicated database @todo cleanup
|
||||||
database_username: "{{ applications | get_app_conf(database_application_id, 'database.username', false, _database_consumer_entity_name)}}" # The overwritte configuration is needed by bigbluebutton
|
database_username: "{{ _database_consumer_entity_name }}"
|
||||||
database_password: "{{ applications | get_app_conf(database_application_id, 'credentials.database_password', true) }}"
|
database_password: "{{ applications | get_app_conf(database_application_id, 'credentials.database_password', true) }}"
|
||||||
database_port: "{{ ports.localhost.database[ _database_id ] }}"
|
database_port: "{{ ports.localhost.database[ _database_id ] }}"
|
||||||
database_env: "{{docker_compose.directories.env}}{{database_type}}.env"
|
database_env: "{{docker_compose.directories.env}}{{database_type}}.env"
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
enable_greenlight: "true"
|
enable_greenlight: "true"
|
||||||
database:
|
|
||||||
name: "multiple_databases"
|
|
||||||
username: "postgres2"
|
|
||||||
api_suffix: "/bigbluebutton/"
|
api_suffix: "/bigbluebutton/"
|
||||||
features:
|
features:
|
||||||
matomo: true
|
matomo: true
|
||||||
|
@ -2,11 +2,9 @@
|
|||||||
- name: "For '{{ application_id }}': include docker-compose role"
|
- name: "For '{{ application_id }}': include docker-compose role"
|
||||||
include_role:
|
include_role:
|
||||||
name: cmp-docker-proxy
|
name: cmp-docker-proxy
|
||||||
vars:
|
|
||||||
database_instance: "{{ application_id }}"
|
- name: "include seed-database-to-backup.yml"
|
||||||
database_password: "{{ applications | get_app_conf(application_id, 'credentials.postgresql_secret', True) }}"
|
include_tasks: "{{ playbook_dir }}/roles/sys-bkp-docker-2-loc/tasks/seed-database-to-backup.yml"
|
||||||
database_username: "postgres"
|
|
||||||
database_name: "" # Multiple databases
|
|
||||||
|
|
||||||
- name: configure websocket_upgrade.conf
|
- name: configure websocket_upgrade.conf
|
||||||
copy:
|
copy:
|
||||||
|
@ -2,7 +2,10 @@ application_id: "web-app-bigbluebutton"
|
|||||||
|
|
||||||
# Database configuration
|
# Database configuration
|
||||||
database_type: "postgres"
|
database_type: "postgres"
|
||||||
database_password: "{{ applications | get_app_conf(application_id, 'credentials.postgresql_secret') }}"
|
database_instance: "{{ application_id | get_entity_name }}"
|
||||||
|
database_password: "{{ applications | get_app_conf(application_id, 'credentials.postgresql_secret', True) }}"
|
||||||
|
database_username: "postgres"
|
||||||
|
database_name: "" # Multiple databases
|
||||||
|
|
||||||
# Proxy
|
# Proxy
|
||||||
domain: "{{ domains | get_domain(application_id) }}"
|
domain: "{{ domains | get_domain(application_id) }}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user