Kaynağa Gözat

some fixes

master
ebeveyn
işleme
77001918ed
3 değiştirilmiş dosya ile 6 ekleme ve 2 silme
  1. +0
    -1
      tasks/access.yml
  2. +5
    -0
      tasks/main.yml
  3. +1
    -1
      vars/main.yml

+ 0
- 1
tasks/access.yml Dosyayı Görüntüle

@@ -59,4 +59,3 @@
state: file
owner: www-data
group: www-data
state: touch

+ 5
- 0
tasks/main.yml Dosyayı Görüntüle

@@ -25,6 +25,11 @@
when: nextcloud_database_type == "mysql"

- import_tasks: core.yml
when:
- nextcloud_state == "reinstalled" or
(nextcloud_state == "installed" and not _nextcloud_version_file_stat.stat.isreg is defined) or
(nextcloud_state == "updated" and _nextcloud_do_update)

- import_tasks: access.yml

- import_tasks: install.yml


+ 1
- 1
vars/main.yml Dosyayı Görüntüle

@@ -1,6 +1,6 @@
_nextcloud_config: "{{ _nextcloud_config_cmd.stdout | from_json }}"
_nextcloud_latest_version: "{{ lookup('template','nextcloud-latest.json.j2') |from_json }}"
_nextcloud_actual_version: "{{ _nextcloud_get_actual_version_command.stdout }}"
_nextcloud_actual_version: "{{ _nextcloud_get_actual_version_command.stdout | default(0) }}"
_nextcloud_apps: "{{ lookup('template','nextcloud-apps.json.j2') }}"
_nextcloud_apps_enabled: "{{ _nextcloud_occ_app_list.stdout | from_yaml | json_query('Enabled|[]|map(&keys(@), @)|[]') }}"
_nextcloud_apps_disabled: "{{ _nextcloud_occ_app_list.stdout | from_yaml | json_query('Disabled|[]') }}"


Yükleniyor…
İptal
Kaydet