34 lines
1.0 KiB
YAML
Raw Normal View History

2020-12-24 14:27:31 +01: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
2020-12-24 14:27:31 +01:00
2025-02-10 22:42:08 +01:00
- name: create nextcloud nginx proxy configuration file
2023-04-26 11:52:11 +02:00
template:
2025-02-10 22:42:08 +01:00
src: "proxy-nginx.conf.j2"
2025-02-21 06:32:12 +01:00
dest: "{{nginx.directories.http.servers}}{{domains[application_id]}}.conf"
2020-12-24 14:27:31 +01:00
notify: restart nginx
2025-02-10 22:42:08 +01:00
- name: create internal nextcloud nginx configuration
2023-04-26 11:52:11 +02:00
template:
2025-02-10 22:42:08 +01:00
src: "internal-nginx.conf.j2"
dest: "{{docker_compose.directories.volumes}}nginx.conf"
2025-02-10 22:42:08 +01:00
notify: restart docker nginx service
2025-02-06 23:59:53 +01:00
- name: "copy docker-compose.yml and env file"
include_tasks: copy-docker-compose-and-env.yml
2025-02-10 22:42:08 +01:00
- name: Include OIDC-specific tasks
include_tasks: oidc.yml
when: applications[application_id].oidc.enabled | bool
2025-02-10 22:42:08 +01:00
- name: Include LDAP specific tasks
include_tasks: ldap.yml
when: applications[application_id].ldap_enabled | bool
- name: Include Config specific tasks
include_tasks: config.yml