mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-12-10 11:26:24 +00:00
Added vars wrapper for RDMBS
This commit is contained in:
@@ -1,6 +1,10 @@
|
|||||||
- include_tasks: 01_core.yml
|
|
||||||
when: run_once_svc_db_mariadb is not defined
|
|
||||||
|
|
||||||
- name: "Initialize database for '{{ database_name }}'"
|
- block:
|
||||||
include_tasks: 02_init.yml
|
- include_tasks: 01_core.yml
|
||||||
when: database_init | bool
|
when: run_once_svc_db_mariadb is not defined
|
||||||
|
|
||||||
|
- name: "Initialize database for '{{ database_name }}'"
|
||||||
|
include_tasks: 02_init.yml
|
||||||
|
when: database_init | bool
|
||||||
|
vars:
|
||||||
|
application_id: svc-db-mariadb
|
||||||
@@ -1,11 +1,14 @@
|
|||||||
- include_tasks: 01_core.yml
|
- block:
|
||||||
when: run_once_svc_db_postgres is not defined
|
- include_tasks: 01_core.yml
|
||||||
|
when: run_once_svc_db_postgres is not defined
|
||||||
|
|
||||||
|
- include_tasks: utils/load_handlers.yml
|
||||||
|
# Necessary because docker handlers are overwritten by condition
|
||||||
|
vars:
|
||||||
|
handler_role_name: "docker-compose"
|
||||||
|
|
||||||
- include_tasks: utils/load_handlers.yml
|
- name: "Initialize database for '{{ database_name }}'"
|
||||||
# Necessary because docker handlers are overwritten by condition
|
include_tasks: 02_init.yml
|
||||||
|
when: database_init | bool
|
||||||
vars:
|
vars:
|
||||||
handler_role_name: "docker-compose"
|
application_id: svc-db-postgres
|
||||||
|
|
||||||
- name: "Initialize database for '{{ database_name }}'"
|
|
||||||
include_tasks: 02_init.yml
|
|
||||||
when: database_init | bool
|
|
||||||
Reference in New Issue
Block a user