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
|
|
|
|
2023-12-06 17:59:57 +01:00
|
|
|
- name: "include task certbot-matomo.yml"
|
|
|
|
include_tasks: certbot-matomo.yml
|
2020-12-24 14:27:31 +01:00
|
|
|
|
|
|
|
- name: configure {{domain}}.conf
|
2023-04-26 11:52:11 +02:00
|
|
|
template:
|
|
|
|
src: "templates/nextcloud.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-01-29 14:20:34 +01:00
|
|
|
- name: create nginx.conf
|
2023-04-26 11:52:11 +02:00
|
|
|
template:
|
|
|
|
src: "templates/nginx.conf.j2"
|
2025-02-04 18:14:37 +01:00
|
|
|
dest: "{{docker_compose.directories.volumes}}nginx.conf"
|
2023-12-30 16:49:37 +01:00
|
|
|
notify: docker compose project setup
|
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-06 23:04:37 +01:00
|
|
|
- name: Include OIDC-specific tasks if OIDC client is active
|
|
|
|
include_tasks: oidc_tasks.yml
|
|
|
|
when: oidc.enabled | bool
|