Update to 2022-01-31 19:00

This commit is contained in:
Daniel Berteaud
2022-01-31 19:00:05 +01:00
parent 4b336e0934
commit 8fafa2187c
8 changed files with 13 additions and 19 deletions

View File

@@ -6,21 +6,13 @@
- name: Download gitea binary
get_url:
url: "{{ gitea_bin_url }}"
dest: "{{ gitea_root_dir }}/tmp/gitea"
dest: "{{ gitea_root_dir }}/bin/gitea"
checksum: "sha256:{{ gitea_bin_sha256 }}"
mode: 755
when: gitea_install_mode != 'none'
notify: restart gitea
tags: gitea
- name: Move gitea binary
command: mv -f {{ gitea_root_dir }}/tmp/gitea {{ gitea_root_dir }}/bin/
when: gitea_install_mode != 'none'
tags: gitea
- name: Make gitea executable
file: path={{ gitea_root_dir }}/bin/gitea mode=0755
tags: gitea
- name: Deploy gitea service unit
template: src=gitea.service.j2 dest=/etc/systemd/system/gitea.service
register: gitea_unit