mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-12-07 18:05:09 +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 }}'"
|
||||
include_tasks: 02_init.yml
|
||||
when: database_init | bool
|
||||
- block:
|
||||
- include_tasks: 01_core.yml
|
||||
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
|
||||
when: run_once_svc_db_postgres is not defined
|
||||
- block:
|
||||
- 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
|
||||
# Necessary because docker handlers are overwritten by condition
|
||||
- name: "Initialize database for '{{ database_name }}'"
|
||||
include_tasks: 02_init.yml
|
||||
when: database_init | bool
|
||||
vars:
|
||||
handler_role_name: "docker-compose"
|
||||
|
||||
- name: "Initialize database for '{{ database_name }}'"
|
||||
include_tasks: 02_init.yml
|
||||
when: database_init | bool
|
||||
application_id: svc-db-postgres
|
||||
Reference in New Issue
Block a user