mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 23:08:06 +02:00
Replaced enable_central_database by configuration in application
This commit is contained in:
@@ -14,9 +14,9 @@
|
||||
src: "env/{{database_type}}.env.j2"
|
||||
dest: "{{database_env}}"
|
||||
notify: docker compose project build and setup
|
||||
when: not enable_central_database | bool
|
||||
when: not applications[application_id].database.central_storage | bool
|
||||
|
||||
- name: create central database
|
||||
include_role:
|
||||
name: "docker-{{database_type}}"
|
||||
when: enable_central_database | bool
|
||||
when: applications[application_id].database.central_storage | bool
|
Reference in New Issue
Block a user