ansible-role-nextcloud/tasks/common.yml

20 lines
599 B
YAML
Raw Normal View History

---
- name: "Common | Ermittle aktuelle Nextcloud-Version"
2022-12-31 13:43:36 +01:00
ansible.builtin.shell:
cmd: curl -sL "{{ nextcloud_github_api_url }}" | jq -r ".tag_name" | cut -d 'v' -f2
changed_when: false
check_mode: false
2023-10-25 19:31:56 +02:00
register: nextcloud_latest_version
2022-12-31 13:43:36 +01:00
- name: "Common | Kopiere Update-Skript"
ansible.builtin.template:
src: nextcloud-updater.j2
dest: "/usr/local/bin/nextcloud-updater"
mode: "0755"
2024-05-05 17:46:16 +02:00
- name: "Common | Kopiere 0-byte-check-script"
ansible.builtin.template:
src: local_nextcloud_zero_bytes.j2
dest: /etc/cron.hourly/local_nextcloud_zero_bytes
mode: "0755"