Pārlūkot izejas kodu

some fixes

master
vecāks
revīzija
77001918ed
3 mainītis faili ar 6 papildinājumiem un 2 dzēšanām
  1. +0
    -1
      tasks/access.yml
  2. +5
    -0
      tasks/main.yml
  3. +1
    -1
      vars/main.yml

+ 0
- 1
tasks/access.yml Parādīt failu

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

+ 5
- 0
tasks/main.yml Parādīt failu

@@ -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 Parādīt failu

@@ -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|[]') }}"


Notiek ielāde…
Atcelt
Saglabāt