Fix a typo.

This commit is contained in:
Andrea Dell'Amico 2021-08-13 00:13:53 +02:00
parent fa828b6074
commit 5b1e67c3e4
Signed by: adellam
GPG Key ID: 147ABE6CEB9E20FF
1 changed files with 7 additions and 1 deletions

View File

@ -69,12 +69,18 @@
creates: '{{ nextcloud_data_dir }}/.ht_nextcloud_trusted_domains_{{ item.id }}'
with_items: '{{ nextcloud_servernames }}'
- name: Set the log file path
- name: Set the nextcloud log file path
shell: cd {{ item.doc_root }} && php occ log:file --file {{ nextcloud_log_directory }}/nextcloud.log && touch {{ nextcloud_data_dir }}/.ht_nextcloud_logfile
args:
creates: '{{ nextcloud_data_dir }}/.ht_nextcloud_logfile'
with_items: '{{ phpfpm_pools }}'
- name: Set the audit log file path
shell: cd {{ item.doc_root }} && php occ config:app:set admin_audit logfile --value={{ nextcloud_log_directory }}/audit.log && touch {{ nextcloud_data_dir }}/.ht_nextcloud_logfile
args:
creates: '{{ nextcloud_data_dir }}/.ht_nextcloud_auditfile'
with_items: '{{ phpfpm_pools }}'
- name: Set the log level
shell: cd {{ item.doc_root }} && php occ log:manage --level {{ nextcloud_log_level }} && touch {{ nextcloud_data_dir }}/.ht_nextcloud_log_level
args: