mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-07-26 15:55:56 +02:00
Update to 2022-01-31 19:00
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user