Selaa lähdekoodia

custom apps directory

reset libs switch
remove comment
master
vanhempi
commit
931751db02
4 muutettua tiedostoa jossa 12 lisäystä ja 1 poistoa
  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 Näytä tiedosto

@@ -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 Näytä tiedosto

@@ -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 Näytä tiedosto

@@ -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 Näytä tiedosto

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

- name: drop mysql database
mysql_db:


Loading…
Peruuta
Tallenna