ansible-role-nextcloud/tasks/common.yml
2023-10-25 19:31:56 +02:00

13 lines
413 B
YAML

---
- name: "Common | Ermittle aktuelle Nextcloud-Version"
ansible.builtin.shell:
cmd: curl -sL "{{ nextcloud_github_api_url }}" | jq -r ".tag_name" | cut -d 'v' -f2
changed_when: false
check_mode: false
register: nextcloud_latest_version
- name: "Common | Kopiere Update-Skript"
ansible.builtin.template:
src: nextcloud-updater.j2
dest: "/usr/local/bin/nextcloud-updater"
mode: "0755"