mirror of
https://github.com/roles-ansible/ansible_role_gitea.git
synced 2024-08-16 11:39:50 +02:00
24 lines
798 B
YAML
24 lines
798 B
YAML
---
|
|
gitea_go_arch_map:
|
|
i386: '386'
|
|
x86_64: 'amd64'
|
|
aarch64: 'arm64'
|
|
armv7l: 'arm-6'
|
|
armv6l: 'arm-6'
|
|
armv5l: 'arm-5'
|
|
|
|
gitea_arch: "{{ gitea_go_arch_map[ansible_architecture] | default(ansible_architecture) }}"
|
|
gitea_filename: "gitea-{{ gitea_version }}.linux-{{ gitea_arch }}"
|
|
|
|
gitea_variables:
|
|
files:
|
|
- "{{ ansible_distribution | lower }}-{{ ansible_distribution_version | lower }}.yml"
|
|
- "{{ ansible_distribution | lower }}-{{ ansible_distribution_major_version | lower }}.yml"
|
|
- "{{ ansible_os_family | lower }}-{{ ansible_distribution_major_version | lower }}.yml"
|
|
- "{{ ansible_distribution | lower }}.yml"
|
|
- "{{ ansible_os_family | lower }}.yml"
|
|
paths:
|
|
- 'vars'
|
|
|
|
playbook_version_number: 8 # should be int
|
|
playbook_version_path: 'do1jlr.gitea.version'
|