forked from infra/ansible
gitea: implement fetching binary
This commit is contained in:
parent
22372c931d
commit
6a9c4aedae
@ -2,5 +2,7 @@
|
|||||||
|
|
||||||
gitea_user: gogs
|
gitea_user: gogs
|
||||||
gitea_group: gogs
|
gitea_group: gogs
|
||||||
gitea_version: 1.11.6
|
|
||||||
|
gitea_checksum: sha256:20264002c28117d3107d3b01efde2cecea2cd98db22e18edd108ed25ae0edc53
|
||||||
|
gitea_version: 1.12.1
|
||||||
gitea_url: https://dl.gitea.io/gitea/{{ gitea_version }}/gitea-{{ gitea_version }}-linux-amd64
|
gitea_url: https://dl.gitea.io/gitea/{{ gitea_version }}/gitea-{{ gitea_version }}-linux-amd64
|
||||||
|
@ -13,7 +13,9 @@
|
|||||||
- /opt/gitea/custom
|
- /opt/gitea/custom
|
||||||
- /opt/gitea/custom/conf
|
- /opt/gitea/custom/conf
|
||||||
|
|
||||||
# TODO fetch gitea binary
|
- name: Download gitea binary
|
||||||
|
get_url: url={{ gitea_url }} dest=/opt/gitea/gitea checksum={{ gitea_checksum }} mode=0755
|
||||||
|
notify: Restart gitea
|
||||||
|
|
||||||
- name: Configure gitea
|
- name: Configure gitea
|
||||||
template: src=app.ini.j2 dest=/opt/gitea/custom/conf/app.ini force=no owner={{ gitea_user }}
|
template: src=app.ini.j2 dest=/opt/gitea/custom/conf/app.ini force=no owner={{ gitea_user }}
|
||||||
|
Loading…
Reference in New Issue
Block a user