mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 23:08:06 +02:00
Solved some bugs and optimized nextcloud
This commit is contained in:
@@ -6,18 +6,12 @@
|
||||
- name: "include role for {{application_id}} to recieve certs & do modification routines"
|
||||
include_role:
|
||||
name: nginx-https-get-cert-modify-all
|
||||
vars:
|
||||
domain: "{{domains[application_id]}}"
|
||||
http: "{{ ports.localhost.http[application_id] }}"
|
||||
|
||||
- name: create nextcloud nginx proxy configuration file
|
||||
template:
|
||||
src: "proxy-nginx.conf.j2"
|
||||
dest: "{{nginx.directories.http.servers}}{{domains[application_id]}}.conf"
|
||||
notify: restart nginx
|
||||
vars:
|
||||
domain: "{{domains[application_id]}}"
|
||||
http_port: "{{ports.localhost.http[application_id]}}"
|
||||
|
||||
- name: create internal nextcloud nginx configuration
|
||||
template:
|
||||
@@ -34,4 +28,7 @@
|
||||
|
||||
- name: Include LDAP specific tasks
|
||||
include_tasks: ldap.yml
|
||||
when: applications[application_id].ldap_enabled | bool
|
||||
when: applications[application_id].ldap_enabled | bool
|
||||
|
||||
- name: Include Config specific tasks
|
||||
include_tasks: config.yml
|
Reference in New Issue
Block a user