31 lines
911 B
YAML

---
- name: "pkgmgr install"
include_role:
name: pkgmgr-install
vars:
package_name: cymais-presentation
# package_notify: docker compose up
- name: Get path of cymais-presentation using pkgmgr
command: pkgmgr path cymais-presentation
register: path_cymais_presentation_output
- name: Get path of cymais using pkgmgrpull docker repository
command: pkgmgr path cymais
register: path_cymais_output
- name: "include docker-compose role"
include_role:
name: docker-compose
- name: "include role srv-web-proxy-domain for {{application_id}}"
include_role:
name: srv-web-proxy-domain
vars:
domain: "{{ domains | get_domain(application_id) }}"
http_port: "{{ ports.localhost.http[application_id] }}"
# Hack because it wasn't possible to fix an handler bug in pkgmgr install
- name: „Trigger“ docker compose up
command: /bin/true
notify: docker compose up