17 lines
427 B
YAML
17 lines
427 B
YAML
# vim: filetype=yaml.ansible :
|
|
---
|
|
- name: Load gitea-server configuration
|
|
ansible.builtin.include_tasks:
|
|
file: config/gitea-server.yml
|
|
|
|
- name: Download gitea-server binary
|
|
become: true
|
|
ansible.builtin.get_url:
|
|
url: "{{ gitea_server.url }}/{{ gitea_server.file }}"
|
|
mode: '0755'
|
|
dest: /usr/local/bin/gitea
|
|
owner: root
|
|
group: root
|
|
checksum: "{{ gitea_server.sha256url }}"
|
|
decompress: false
|