Przeglądaj źródła

custom apps directory

reset libs switch
remove comment
master
rodzic
commit
931751db02
4 zmienionych plików z 12 dodań i 1 usunięć
  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 Wyświetl plik

@@ -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 Wyświetl plik

@@ -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 Wyświetl plik

@@ -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 Wyświetl plik

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

- name: drop mysql database
mysql_db:


Ładowanie…
Anuluj
Zapisz