mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Add play for downloading Gitea binary
- Convert ansible_architecture variable to filename suffix
This commit is contained in:
parent
a66d4ed636
commit
e351a1c7c1
2 changed files with 83 additions and 0 deletions
|
@ -6,6 +6,16 @@
|
|||
gitea_version: "1.6"
|
||||
gitea_install_path: "/usr/local/bin/gitea"
|
||||
|
||||
iset_suffixes:
|
||||
i386: "386"
|
||||
x86_64: "amd64"
|
||||
armv6l: "arm-6"
|
||||
armv7l: "arm-7"
|
||||
|
||||
gitea_iset_suffix: "{{ iset_suffixes[ansible_architecture | default("unknown architecture")] }}"
|
||||
|
||||
gitea_download_url: "https://dl.gitea.io/gitea/{{ gitea_version }}/gitea-{{ gitea_version }}-linux-{{ gitea_iset_suffix }}"
|
||||
|
||||
# Information needed to run Gitea
|
||||
gitea_user: gitea
|
||||
gitea_run_directory: /var/lib/gitea
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue