Files
configpolicy/roles/gitea/defaults/main.yml
Dustin C. Hatch f8b7f28469 roles/gitea: Install from upstream binary
I seem to have forgotten how I got the RPM for Gitea.  I think I built
it, but I cannot find the spec file, nor the RPM package.  Since this is
clearly not reproducible, I decided to switch to using the binary
provided by upstream for now, until either I or Fedora get around to
making a better RPM.

Installing Gitea from the upstream binary is simple: just download it
and copy it to `/usr/local/bin`.  Of course, the OS user and systemd
unit have to be managed by configuration policy when it's installed this
way.
2020-02-22 16:43:46 -06:00

12 lines
454 B
YAML

gitea_version: 1.11.0
gitea_arch: '{{ _gitea_arch_map[ansible_architecture] }}'
gitea_bin: gitea-{{ gitea_version }}-linux-{{ gitea_arch }}
gitea_bin_sha256: >-
d4df5f456cf13d49c096525ff762ad70386251d3f0d2805735b5dfade17e88d4
gitea_download_url: >-
https://dl.gitea.io/gitea/{{ gitea_version }}/{{ gitea_bin }}
gitea_ssh_domain: '{{ ansible_fqdn }}'
gitea_http_domain: '{{ gitea_ssh_domain }}'
gitea_root_url: 'http://{{ gitea_http_domain }}:3000/'