gitea 1.12.2

This commit is contained in:
Ryan Cavicchioni 2020-08-22 09:56:22 -05:00
parent 277a1bc569
commit 98f98bab16
Signed by: ryanc
GPG Key ID: 877EEDAF9245103D
3 changed files with 14 additions and 11 deletions

View File

@ -3,10 +3,8 @@ gitea_service_name: gitea.service
gitea_service_state: started
gitea_service_enabled: yes
gitea_arch: amd64
gitea_version: 1.11.5
gitea_version: 1.12.2
gitea_url: "https://dl.gitea.io/gitea/{{ gitea_version }}/gitea-{{ gitea_version }}-linux-{{ gitea_arch }}"
gitea_checksum: sha256:d8d43c13e71596c79b541e85e29defe065b4f70ac5155e6d0212bcfc669e1b9c
gitea_bin_path: /usr/local/bin
gitea_var_path: /var/lib/gitea
gitea_log_path: /var/log/gitea

View File

@ -1,12 +1,14 @@
---
#- name: OS specific variables
# include_vars: "{{ item }}"
# with_first_found:
# - "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yml"
# - "{{ ansible_distribution }}.yml"
# - "{{ ansible_os_family }}.yml"
# - "default.yml"
#
- name: gather architecture specific variables
include_vars: "{{ lookup('first_found', possible_files) }}"
vars:
possible_files:
files:
- "{{ ansible_userspace_architecture }}.yaml"
- "default.yaml"
paths:
- vars
- name: "download gitea {{ gitea_version }}"
get_url:
url: "{{ gitea_url }}"

View File

@ -0,0 +1,3 @@
---
gitea_arch: amd64
gitea_checksum: sha256:3faa3e97a621c3b9ecba7917fd870c07c3c6c88c8cc7c29ecbf2c7b9802d91b0