mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-02-23 04:49:40 +01:00
31 lines
937 B
YAML
31 lines
937 B
YAML
---
|
|
- name: "include docker-central-database"
|
|
include_role:
|
|
name: docker-central-database
|
|
|
|
- name: "include role receive certbot certificate"
|
|
include_role:
|
|
name: nginx-https-recieve-certificate
|
|
|
|
- name: create nextcloud nginx proxy configuration file
|
|
template:
|
|
src: "proxy-nginx.conf.j2"
|
|
dest: "{{nginx.directories.http.servers}}{{domain}}.conf"
|
|
notify: restart nginx
|
|
|
|
- name: create internal nextcloud nginx configuration
|
|
template:
|
|
src: "internal-nginx.conf.j2"
|
|
dest: "{{docker_compose.directories.volumes}}nginx.conf"
|
|
notify: restart docker nginx service
|
|
|
|
- name: "copy docker-compose.yml and env file"
|
|
include_tasks: copy-docker-compose-and-env.yml
|
|
|
|
- name: Include OIDC-specific tasks
|
|
include_tasks: oidc.yml
|
|
when: applications[application_id].oidc.enabled | bool
|
|
|
|
- name: Include LDAP specific tasks
|
|
include_tasks: ldap.yml
|
|
when: applications[application_id].ldap_enabled | bool |