Solved bool bug

This commit is contained in:
Kevin Veen-Birkenbach 2024-01-08 20:56:30 +01:00
parent 383b80df6b
commit 0b4e8c5c6a
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
database_instance: "{{ 'central-' + database_type if enable_central_database else docker_compose_project_name }}"
database_host: "{{ 'central-' + database_type if enable_central_database else 'database' }}"
database_instance: "{{ 'central-' + database_type if enable_central_database | bool else docker_compose_project_name }}"
database_host: "{{ 'central-' + database_type if enable_central_database | bool else 'database' }}"
database_name: "{{ docker_compose_project_name }}"
database_username: "{{ docker_compose_project_name }}"
database_version: "{{ postgres_default_version }}"