mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
In between re-draft for nextcloud
This commit is contained in:
3
roles/docker-nextcloud/tasks/ldap.yml
Normal file
3
roles/docker-nextcloud/tasks/ldap.yml
Normal file
@@ -0,0 +1,3 @@
|
||||
# @See https://docs.nextcloud.com/server/latest/admin_manual/configuration_user/user_auth_ldap.html
|
||||
# @See https://chatgpt.com/c/67aa2d21-cb4c-800f-b1be-8629b6bd3f55
|
||||
#docker compose exec -u www-data application php occ app:enable user_ldap
|
@@ -6,21 +6,25 @@
|
||||
- name: "include task certbot-and-globals.yml"
|
||||
include_tasks: certbot-and-globals.yml
|
||||
|
||||
- name: configure {{domain}}.conf
|
||||
- name: create nextcloud nginx proxy configuration file
|
||||
template:
|
||||
src: "templates/nextcloud.conf.j2"
|
||||
src: "proxy-nginx.conf.j2"
|
||||
dest: "{{nginx.directories.http.servers}}{{domain}}.conf"
|
||||
notify: restart nginx
|
||||
|
||||
- name: create nginx.conf
|
||||
- name: create internal nextcloud nginx configuration
|
||||
template:
|
||||
src: "templates/nginx.conf.j2"
|
||||
src: "internal-nginx.conf.j2"
|
||||
dest: "{{docker_compose.directories.volumes}}nginx.conf"
|
||||
notify: docker compose project setup
|
||||
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 if OIDC client is active
|
||||
include_tasks: oidc_tasks.yml
|
||||
- name: Include OIDC-specific tasks
|
||||
include_tasks: oidc.yml
|
||||
when: oidc.enabled | bool
|
||||
|
||||
- name: Include LDAP specific tasks
|
||||
include_tasks: ldap.yml
|
||||
when: ldap.enabled | bool
|
Reference in New Issue
Block a user