Revert "Download xz file and extract"

This reverts commit 72be74e4da.
This commit is contained in:
SebClem 2024-04-11 09:57:41 +02:00
parent 72be74e4da
commit e9f5520de2
Signed by: sebclem
GPG Key ID: 5A4308F6A359EA50
2 changed files with 4 additions and 5 deletions

View File

@ -6,11 +6,10 @@
name: "{{ gitea_deps }}"
- name: Download gitea binary
ansible.builtin.unarchive:
src: "{{ gitea_dl_url }}"
remote_src: true
ansible.builtin.get_url:
url: "{{ gitea_dl_url }}"
dest: /usr/local/bin/gitea
mode: "755"
mode: 755
owner: root
group: root
notify: Restart Gitea

View File

@ -2,7 +2,7 @@
# vars file for Ansible-Gitea-Role
gitea_dl_url_root: https://dl.gitea.com/gitea
gitea_dl_filename: "gitea-{{ gitea_version }}-linux-amd64.xz"
gitea_dl_filename: "gitea-{{ gitea_version }}-linux-amd64"
gitea_dl_url: "{{ gitea_dl_url_root }}/{{ gitea_version }}/{{ gitea_dl_filename }}"
gitea_deps: