# 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-ctl-bkp-docker-2-loc/tasks/04_seed-database-to-backup.yml"