2021-06-26 11:42:17 +02:00
|
|
|
---
|
2023-05-21 23:01:31 +02:00
|
|
|
- name: "Common | Ermittle aktuelle Nextcloud-Version"
|
2022-12-31 13:43:36 +01:00
|
|
|
ansible.builtin.shell:
|
2022-10-08 22:47:54 +02:00
|
|
|
cmd: curl -sL "{{ nextcloud_github_api_url }}" | jq -r ".tag_name" | cut -d 'v' -f2
|
|
|
|
changed_when: false
|
2023-09-26 11:57:18 +02:00
|
|
|
check_mode: false
|
2022-10-08 22:47:54 +02:00
|
|
|
register: latest_version
|
|
|
|
|
2022-12-31 13:43:36 +01:00
|
|
|
- name: "Common | Kopiere Update-Skript"
|
|
|
|
ansible.builtin.template:
|
2023-05-21 23:01:31 +02:00
|
|
|
src: nextcloud-updater.j2
|
2022-07-26 16:54:45 +02:00
|
|
|
dest: "/usr/local/bin/nextcloud-updater"
|
2023-05-21 23:01:31 +02:00
|
|
|
mode: "0755"
|