mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-07-17 14:04:24 +02:00
Implemented DB Credentials Update for Nextcloud and solved bug
This commit is contained in:
parent
30d583f0c9
commit
d1c8036fa4
@ -35,14 +35,14 @@
|
||||
dest: "{{docker_compose.directories.volumes}}nginx.conf"
|
||||
notify: restart nextcloud nginx service
|
||||
|
||||
- name: Setup config.php
|
||||
include_tasks: 01_config.yml
|
||||
|
||||
- name: Flush all handlers immediately so that occ can be used
|
||||
meta: flush_handlers
|
||||
|
||||
- name: Setup config.php
|
||||
include_tasks: config.yml
|
||||
|
||||
- name: Setup Nextcloud Plugins
|
||||
include_tasks: plugin.yml
|
||||
include_tasks: 02_plugin.yml
|
||||
loop: "{{applications | get_app_conf(application_id, 'plugins', True) | dict2items }}"
|
||||
loop_control:
|
||||
loop_var: plugin_item
|
||||
@ -51,7 +51,7 @@
|
||||
plugin_value: "{{ plugin_item.value }}"
|
||||
|
||||
- name: Load system configuration
|
||||
include_tasks: system.yml
|
||||
include_tasks: 03_system.yml
|
||||
|
||||
- name: Add missing database indices in Nextcloud
|
||||
command: >
|
||||
|
@ -0,0 +1,7 @@
|
||||
<?php
|
||||
return [
|
||||
'dbhost' => '{{ database_host }}:{{ database_port }}',
|
||||
'dbname' => '{{ database_name }}',
|
||||
'dbuser' => '{{ database_username }}',
|
||||
'dbpassword' => '{{ database_password }}',
|
||||
];
|
@ -164,7 +164,7 @@ plugin_configuration:
|
||||
appid: "user_ldap"
|
||||
configkey: "s01ldap_userlist_filter"
|
||||
configvalue: |-
|
||||
{% if applications | get_app_conf(application_id, 'plugins', True).user_ldap.user_directory.enabled %}
|
||||
{% if applications | get_app_conf(application_id, 'plugins.user_ldap.user_directory.enabled', True) %}
|
||||
{{ ldap.filters.users.all }}
|
||||
{% else %}
|
||||
()
|
||||
|
Loading…
x
Reference in New Issue
Block a user