ansible-role-nextcloud/tasks/fixes.yml
2021-08-08 11:59:41 +02:00

16 lines
886 B
YAML

---
- name: "fixes: {{ instance.domain }}: https://github.com/nextcloud/files_pdfviewer/issues/381"
get_url:
url: https://raw.githubusercontent.com/nextcloud/files_pdfviewer/6d81ffbb65c3758bece144e0aff07b4a0ad20eef/js/files_pdfviewer-main.js
dest: "{{ nextcloud_install_path }}/apps/files_pdfviewer/js/files_pdfviewer-main.js"
owner: "{{ instance.user }}"
group: "{{ instance.user }}"
when: (nc_installed_version.stdout|int) <= 21.0.2
- name: "fixes: {{ instance.domain }}: https://github.com/nextcloud/server/pull/27015"
get_url:
url: https://raw.githubusercontent.com/nextcloud/server/553f8aff6b10bbb485ff3d3f0ec31801e2a66e51/apps/files_trashbin/lib/Storage.php
dest: "{{ nextcloud_install_path }}/apps/files_trashbin/lib/Storage.php"
owner: "{{ instance.user }}"
group: "{{ instance.user }}"
when: (nc_installed_version.stdout|int) <= 21.0.2