浏览代码

custom apps directory

reset libs switch
remove comment
master
父节点
当前提交
931751db02
共有 4 个文件被更改,包括 12 次插入1 次删除
  1. +2
    -0
      defaults/main.yml
  2. +8
    -0
      tasks/access.yml
  3. +1
    -1
      tasks/configure.yml
  4. +1
    -0
      tasks/reset.yml

+ 2
- 0
defaults/main.yml 查看文件

@@ -33,3 +33,5 @@ timezone: Europe/Berlin
nextcloud_postgresql_lc: de_DE.UTF-8

nextcloud_php_version: 7.3

nextcloud_reset_lib_directory: true

+ 8
- 0
tasks/access.yml 查看文件

@@ -21,6 +21,14 @@
- themes
- 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
file:
path: "{{nextcloud_lib_directory}}"


+ 1
- 1
tasks/configure.yml 查看文件

@@ -22,7 +22,7 @@
with_indexed_items: "{{ 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}}/"
args:
chdir: "{{nextcloud_directory}}"


+ 1
- 0
tasks/reset.yml 查看文件

@@ -14,6 +14,7 @@
file:
path: "{{nextcloud_lib_directory}}"
state: absent
when: nextcloud_reset_lib_directory

- name: drop mysql database
mysql_db:


正在加载...
取消
保存