nextcloud: Korrigiere marker, konfiguriere Logging

This commit is contained in:
phil 2022-12-31 14:27:02 +01:00
parent 6acf008490
commit 00e292857d

View file

@ -35,6 +35,7 @@
ansible.builtin.blockinfile:
path: "{{ nextcloud_config_file }}"
insertbefore: '^\);'
marker: "// {mark} ANSIBLE MANAGED BLOCK"
marker_begin: mailserver
block: |2
'mail_from_address' => '{{ nextcloud.mail_from }}',
@ -49,6 +50,7 @@
ansible.builtin.blockinfile:
path: "{{ nextcloud_config_file }}"
insertbefore: '^\);'
marker: "// {mark} ANSIBLE MANAGED BLOCK"
marker_begin: filelocking
block: |2
'filelocking.enabled' => true,
@ -67,3 +69,15 @@
changed_when: true
with_indexed_items:
- "{{ nextcloud.trusted_proxies }}"
- name: "Configuration | Richte Logging ein | {{ instance.name }}"
ansible.builtin.blockinfile:
path: "{{ nextcloud_config_file }}"
insertbefore: '^\);'
marker: "// {mark} ANSIBLE MANAGED BLOCK"
marker_begin: logging
block: |2
'log_type' => 'file',
'loglevel' => 1,
'logdateformat' => 'F d, Y H:i:s',
'log_type_audit' => 'file',