mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-02-22 12:29:39 +01:00
5 lines
452 B
Django/Jinja
5 lines
452 B
Django/Jinja
database_instance: "{{ 'central-' + database_type if enable_central_database | bool else application_id }}"
|
|
database_host: "{{ 'central-' + database_type if enable_central_database | bool else 'database' }}"
|
|
database_name: "{{ application_id }}"
|
|
database_username: "{{ application_id }}"
|
|
database_port: "{{ 3306 if database_type == 'mariadb' else 5432 }}" |