@@ -33,3 +33,5 @@ timezone: Europe/Berlin | |||||
nextcloud_postgresql_lc: de_DE.UTF-8 | nextcloud_postgresql_lc: de_DE.UTF-8 | ||||
nextcloud_php_version: 7.3 | nextcloud_php_version: 7.3 | ||||
nextcloud_reset_lib_directory: true |
@@ -21,6 +21,14 @@ | |||||
- themes | - themes | ||||
- updater | - updater | ||||
- name: nextcloud custom apps directory | |||||
file: | |||||
path: "{{nextcloud_directory}}/custom_apps" | |||||
state: directory | |||||
owner: www-data | |||||
group: www-data | |||||
mode: 0750 | |||||
- name: nextcloud lib directory | - name: nextcloud lib directory | ||||
file: | file: | ||||
path: "{{nextcloud_lib_directory}}" | path: "{{nextcloud_lib_directory}}" | ||||
@@ -22,7 +22,7 @@ | |||||
with_indexed_items: "{{ nextcloud_server_names }}" | with_indexed_items: "{{ nextcloud_server_names }}" | ||||
when: _nextcloud_config.system.trusted_domains != nextcloud_server_names | when: _nextcloud_config.system.trusted_domains != nextcloud_server_names | ||||
- name: nextcloud occ config:system:set overwrite.cli.url (fix bug in nextcloud 14) | |||||
- name: nextcloud occ config:system:set overwrite.cli.url | |||||
command: php occ config:system:set overwrite.cli.url --value="https://{{nextcloud_server_names|first}}/" | command: php occ config:system:set overwrite.cli.url --value="https://{{nextcloud_server_names|first}}/" | ||||
args: | args: | ||||
chdir: "{{nextcloud_directory}}" | chdir: "{{nextcloud_directory}}" | ||||
@@ -14,6 +14,7 @@ | |||||
file: | file: | ||||
path: "{{nextcloud_lib_directory}}" | path: "{{nextcloud_lib_directory}}" | ||||
state: absent | state: absent | ||||
when: nextcloud_reset_lib_directory | |||||
- name: drop mysql database | - name: drop mysql database | ||||
mysql_db: | mysql_db: | ||||