generated from sebclem/ansible-role-template
Download xz file and extract
This commit is contained in:
parent
a6e000bc89
commit
72be74e4da
@ -6,10 +6,11 @@
|
|||||||
name: "{{ gitea_deps }}"
|
name: "{{ gitea_deps }}"
|
||||||
|
|
||||||
- name: Download gitea binary
|
- name: Download gitea binary
|
||||||
ansible.builtin.get_url:
|
ansible.builtin.unarchive:
|
||||||
url: "{{ gitea_dl_url }}"
|
src: "{{ gitea_dl_url }}"
|
||||||
|
remote_src: true
|
||||||
dest: /usr/local/bin/gitea
|
dest: /usr/local/bin/gitea
|
||||||
mode: 755
|
mode: "755"
|
||||||
owner: root
|
owner: root
|
||||||
group: root
|
group: root
|
||||||
notify: Restart Gitea
|
notify: Restart Gitea
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
# vars file for Ansible-Gitea-Role
|
# vars file for Ansible-Gitea-Role
|
||||||
|
|
||||||
gitea_dl_url_root: https://dl.gitea.com/gitea
|
gitea_dl_url_root: https://dl.gitea.com/gitea
|
||||||
gitea_dl_filename: "gitea-{{ gitea_version }}-linux-amd64"
|
gitea_dl_filename: "gitea-{{ gitea_version }}-linux-amd64.xz"
|
||||||
gitea_dl_url: "{{ gitea_dl_url_root }}/{{ gitea_version }}/{{ gitea_dl_filename }}"
|
gitea_dl_url: "{{ gitea_dl_url_root }}/{{ gitea_version }}/{{ gitea_dl_filename }}"
|
||||||
|
|
||||||
gitea_deps:
|
gitea_deps:
|
||||||
|
Loading…
Reference in New Issue
Block a user