gitea 1.12.2
This commit is contained in:
parent
277a1bc569
commit
98f98bab16
@ -3,10 +3,8 @@ gitea_service_name: gitea.service
|
|||||||
gitea_service_state: started
|
gitea_service_state: started
|
||||||
gitea_service_enabled: yes
|
gitea_service_enabled: yes
|
||||||
|
|
||||||
gitea_arch: amd64
|
gitea_version: 1.12.2
|
||||||
gitea_version: 1.11.5
|
|
||||||
gitea_url: "https://dl.gitea.io/gitea/{{ gitea_version }}/gitea-{{ gitea_version }}-linux-{{ gitea_arch }}"
|
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_bin_path: /usr/local/bin
|
||||||
gitea_var_path: /var/lib/gitea
|
gitea_var_path: /var/lib/gitea
|
||||||
gitea_log_path: /var/log/gitea
|
gitea_log_path: /var/log/gitea
|
||||||
|
@ -1,12 +1,14 @@
|
|||||||
---
|
---
|
||||||
#- name: OS specific variables
|
- name: gather architecture specific variables
|
||||||
# include_vars: "{{ item }}"
|
include_vars: "{{ lookup('first_found', possible_files) }}"
|
||||||
# with_first_found:
|
vars:
|
||||||
# - "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yml"
|
possible_files:
|
||||||
# - "{{ ansible_distribution }}.yml"
|
files:
|
||||||
# - "{{ ansible_os_family }}.yml"
|
- "{{ ansible_userspace_architecture }}.yaml"
|
||||||
# - "default.yml"
|
- "default.yaml"
|
||||||
#
|
paths:
|
||||||
|
- vars
|
||||||
|
|
||||||
- name: "download gitea {{ gitea_version }}"
|
- name: "download gitea {{ gitea_version }}"
|
||||||
get_url:
|
get_url:
|
||||||
url: "{{ gitea_url }}"
|
url: "{{ gitea_url }}"
|
||||||
|
3
roles/gitea/vars/x86_64.yaml
Normal file
3
roles/gitea/vars/x86_64.yaml
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
---
|
||||||
|
gitea_arch: amd64
|
||||||
|
gitea_checksum: sha256:3faa3e97a621c3b9ecba7917fd870c07c3c6c88c8cc7c29ecbf2c7b9802d91b0
|
Loading…
Reference in New Issue
Block a user