26 lines
798 B
YAML
Raw Normal View History

2023-05-29 13:03:57 +02:00
---
- name: "include docker-central-database"
include_role:
name: docker-central-database
- name: "include role for {{application_id}} to recieve certs & do modification routines"
include_role:
name: nginx-https-get-cert-modify-all
vars:
domain: "{{ item }}"
http: "{{ ports.localhost.http[application_id] }}"
loop:
- "{{ domains.mailu }}"
- "{{ domain }}"
2025-02-21 06:32:12 +01:00
- name: configure {{domains[application_id]}}.conf
2023-05-29 13:03:57 +02:00
template:
src: roles/nginx-docker-reverse-proxy/templates/domain.conf.j2
2025-02-21 06:32:12 +01:00
dest: "{{nginx.directories.http.servers}}{{domains[application_id]}}.conf"
2023-05-29 13:03:57 +02:00
notify: restart nginx
- name: "include tasks update-repository-with-files.yml"
include_tasks: update-repository-with-files.yml
vars:
detached_files:
- "docker-compose.yml"