mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-07-20 23:31:10 +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"
|
dest: "{{docker_compose.directories.volumes}}nginx.conf"
|
||||||
notify: restart nextcloud nginx service
|
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
|
- name: Flush all handlers immediately so that occ can be used
|
||||||
meta: flush_handlers
|
meta: flush_handlers
|
||||||
|
|
||||||
- name: Setup config.php
|
|
||||||
include_tasks: config.yml
|
|
||||||
|
|
||||||
- name: Setup Nextcloud Plugins
|
- name: Setup Nextcloud Plugins
|
||||||
include_tasks: plugin.yml
|
include_tasks: 02_plugin.yml
|
||||||
loop: "{{applications | get_app_conf(application_id, 'plugins', True) | dict2items }}"
|
loop: "{{applications | get_app_conf(application_id, 'plugins', True) | dict2items }}"
|
||||||
loop_control:
|
loop_control:
|
||||||
loop_var: plugin_item
|
loop_var: plugin_item
|
||||||
@ -51,7 +51,7 @@
|
|||||||
plugin_value: "{{ plugin_item.value }}"
|
plugin_value: "{{ plugin_item.value }}"
|
||||||
|
|
||||||
- name: Load system configuration
|
- name: Load system configuration
|
||||||
include_tasks: system.yml
|
include_tasks: 03_system.yml
|
||||||
|
|
||||||
- name: Add missing database indices in Nextcloud
|
- name: Add missing database indices in Nextcloud
|
||||||
command: >
|
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"
|
appid: "user_ldap"
|
||||||
configkey: "s01ldap_userlist_filter"
|
configkey: "s01ldap_userlist_filter"
|
||||||
configvalue: |-
|
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 }}
|
{{ ldap.filters.users.all }}
|
||||||
{% else %}
|
{% else %}
|
||||||
()
|
()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user