2020-12-24 14:27:31 +01:00
|
|
|
---
|
2025-02-04 18:14:37 +01:00
|
|
|
- name: "include docker-central-database"
|
|
|
|
include_role:
|
|
|
|
name: docker-central-database
|
2024-01-02 21:13:34 +01:00
|
|
|
|
2025-02-07 13:39:46 +01:00
|
|
|
- name: "include task certbot-and-globals.yml"
|
|
|
|
include_tasks: certbot-and-globals.yml
|
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-01-31 13:14:07 +01:00
|
|
|
dest: "{{nginx.directories.http.servers}}{{domain}}.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"
|
2025-02-04 18:14:37 +01:00
|
|
|
dest: "{{docker_compose.directories.volumes}}nginx.conf"
|
2025-02-10 22:42:08 +01:00
|
|
|
notify: restart docker nginx service
|
2021-08-17 22:19:29 +02:00
|
|
|
|
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-01-28 00:38:09 +01:00
|
|
|
|
2025-02-10 22:42:08 +01:00
|
|
|
- name: Include OIDC-specific tasks
|
|
|
|
include_tasks: oidc.yml
|
2025-02-06 23:04:37 +01:00
|
|
|
when: oidc.enabled | bool
|
2025-02-10 22:42:08 +01:00
|
|
|
|
|
|
|
- name: Include LDAP specific tasks
|
|
|
|
include_tasks: ldap.yml
|
|
|
|
when: ldap.enabled | bool
|