mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-30 23:38:13 +02:00
THE HUGE REFACTORING CALENDER WEEK 33; Optimized Matrix and during this updated variables, and implemented better reset and cleanup mode handling, also solved some initial setup bugs
This commit is contained in:
13
roles/web-app-matrix/tasks/02_create-and-seed-database.yml
Normal file
13
roles/web-app-matrix/tasks/02_create-and-seed-database.yml
Normal file
@@ -0,0 +1,13 @@
|
||||
# The following parameters need to be pased:
|
||||
#
|
||||
# - database_instance
|
||||
# - database_name
|
||||
# - database_username
|
||||
# - database_password
|
||||
- name: "create {{database_name}} database"
|
||||
include_role:
|
||||
name: "svc-db-{{ database_type }}"
|
||||
when: applications | get_app_conf(application_id, 'features.central_database', False)
|
||||
|
||||
- name: "include 04_seed-database-to-backup.yml"
|
||||
include_tasks: "{{ playbook_dir }}/roles/sys-bkp-docker-2-loc/tasks/04_seed-database-to-backup.yml"
|
Reference in New Issue
Block a user