27 lines
747 B
YAML

---
- name: "include docker-central-database"
include_role:
name: docker-central-database
- name: "include task certbot-matomo.yml"
include_tasks: certbot-matomo.yml
- name: configure {{domain}}.conf
template:
src: "templates/nextcloud.conf.j2"
dest: "{{nginx.directories.http.servers}}{{domain}}.conf"
notify: restart nginx
- name: create nginx.conf
template:
src: "templates/nginx.conf.j2"
dest: "{{docker_compose.directories.volumes}}nginx.conf"
notify: docker compose project setup
- name: "copy docker-compose.yml and env file"
include_tasks: copy-docker-compose-and-env.yml
- name: Include OIDC-specific tasks if OIDC client is active
include_tasks: oidc_tasks.yml
when: oidc.enabled | bool