forked from infra/ansible
gitea: bump version to 1.21.3
This commit is contained in:
parent
6f5b4891d4
commit
c3ce352580
@ -3,6 +3,5 @@
|
|||||||
gitea_user: gogs
|
gitea_user: gogs
|
||||||
gitea_group: gogs
|
gitea_group: gogs
|
||||||
|
|
||||||
gitea_checksum: sha256:d4a016cc4b9a2056ef4fea21c085c25214428d3d804b808b217eac93b221aa47
|
gitea_version: 1.21.3
|
||||||
gitea_version: 1.21.2
|
|
||||||
gitea_url: https://github.com/go-gitea/gitea/releases/download/v{{ gitea_version }}/gitea-{{ gitea_version }}-linux-amd64
|
gitea_url: https://github.com/go-gitea/gitea/releases/download/v{{ gitea_version }}/gitea-{{ gitea_version }}-linux-amd64
|
||||||
|
@ -14,7 +14,12 @@
|
|||||||
- /opt/gitea/custom/conf
|
- /opt/gitea/custom/conf
|
||||||
|
|
||||||
- name: Download gitea binary
|
- name: Download gitea binary
|
||||||
get_url: url={{ gitea_url }} dest=/opt/gitea/gitea checksum={{ gitea_checksum }} mode=0755
|
get_url: url={{ gitea_url }} dest=/opt/gitea/gitea-{{ gitea_version }} mode=0755
|
||||||
|
register: gitea_download
|
||||||
|
|
||||||
|
- name: Sylink gitea binary
|
||||||
|
file: src=/opt/gitea/gitea-{{ gitea_version }} dest=/opt/gitea/gitea state=link
|
||||||
|
when: gitea_download.changed
|
||||||
notify: Restart gitea
|
notify: Restart gitea
|
||||||
|
|
||||||
- name: Configure gitea
|
- name: Configure gitea
|
||||||
|
Loading…
Reference in New Issue
Block a user