nextcloud: Korrigiere marker, konfiguriere Logging
This commit is contained in:
parent
6acf008490
commit
00e292857d
1 changed files with 14 additions and 0 deletions
|
@ -35,6 +35,7 @@
|
||||||
ansible.builtin.blockinfile:
|
ansible.builtin.blockinfile:
|
||||||
path: "{{ nextcloud_config_file }}"
|
path: "{{ nextcloud_config_file }}"
|
||||||
insertbefore: '^\);'
|
insertbefore: '^\);'
|
||||||
|
marker: "// {mark} ANSIBLE MANAGED BLOCK"
|
||||||
marker_begin: mailserver
|
marker_begin: mailserver
|
||||||
block: |2
|
block: |2
|
||||||
'mail_from_address' => '{{ nextcloud.mail_from }}',
|
'mail_from_address' => '{{ nextcloud.mail_from }}',
|
||||||
|
@ -49,6 +50,7 @@
|
||||||
ansible.builtin.blockinfile:
|
ansible.builtin.blockinfile:
|
||||||
path: "{{ nextcloud_config_file }}"
|
path: "{{ nextcloud_config_file }}"
|
||||||
insertbefore: '^\);'
|
insertbefore: '^\);'
|
||||||
|
marker: "// {mark} ANSIBLE MANAGED BLOCK"
|
||||||
marker_begin: filelocking
|
marker_begin: filelocking
|
||||||
block: |2
|
block: |2
|
||||||
'filelocking.enabled' => true,
|
'filelocking.enabled' => true,
|
||||||
|
@ -67,3 +69,15 @@
|
||||||
changed_when: true
|
changed_when: true
|
||||||
with_indexed_items:
|
with_indexed_items:
|
||||||
- "{{ nextcloud.trusted_proxies }}"
|
- "{{ 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',
|
||||||
|
|
Loading…
Reference in a new issue