# The following parameters need to be pased:
# 
# - database_instance
# - database_name
# - database_username
# - database_password
- name: "create {{database_name}} database"
  include_role:
    name: docker-postgres
  when: applications | is_feature_enabled('central_database',application_id)

- name: "include seed-database-to-backup.yml"
  include_tasks: "{{ playbook_dir }}/roles/backup-docker-to-local/tasks/seed-database-to-backup.yml"