# run_once_cmp_db_docker_proxy: deactivated

- include_tasks: "{{ playbook_dir }}/tasks/utils/load_handlers.yml"
  vars:
    handler_role_name: "svc-prx-openresty"

- name: "For '{{ application_id }}': load docker and db"
  include_role:
    name: cmp-db-docker

- name: "For '{{ application_id }}': include role srv-proxy-6-6-domain"
  include_role:
    name: srv-proxy-6-6-domain
  vars:
    domain:     "{{ domains | get_domain(application_id) }}"
    http_port:  "{{ ports.localhost.http[application_id] }}"
