feat: add nextcloud oidc provisioning

This commit is contained in:
Bert-Jan Fikse 2026-02-27 11:23:07 +01:00
parent 3fcaebe1a8
commit b5a6573beb
Signed by: bert-jan
GPG key ID: C1E0AB516AC16D1A
5 changed files with 99 additions and 1 deletions

View file

@ -55,9 +55,21 @@
- (nextcloud_ready.stdout | from_json).installed == true
changed_when: false
- name: Deploy local network config file
ansible.builtin.template:
src: local-network.config.php.j2
dest: "{{ nextcloud_docker_volume_dir }}/nextcloud/config/local-network.config.php"
owner: www-data
group: www-data
mode: '0640'
- name: Install nextcloud plugins
ansible.builtin.include_tasks: plugins.yml
- name: Configure nextcloud collabora
ansible.builtin.include_tasks: collabora.yml
when: nextcloud_enable_collabora
- name: Configure OIDC providers
ansible.builtin.include_tasks: oidc.yml
when: nextcloud_oidc_providers | length > 0 or nextcloud_oidc_providers_removed | length > 0