2018-10-18 05:46:12 +00:00
|
|
|
---
|
2019-03-02 08:16:12 +00:00
|
|
|
#gitea_install: True
|
|
|
|
#gitea_enabled: True
|
|
|
|
|
2018-10-18 05:46:12 +00:00
|
|
|
# Using @coolaj86's script as a template
|
|
|
|
# https://git.coolaj86.com/coolaj86/gitea-installer.sh
|
|
|
|
|
|
|
|
# Information needed to install Gitea
|
2019-03-06 20:50:13 +00:00
|
|
|
gitea_version: "1.7.3"
|
2018-10-18 07:26:39 +00:00
|
|
|
iset_suffixes:
|
|
|
|
i386: "386"
|
|
|
|
x86_64: "amd64"
|
|
|
|
armv6l: "arm-6"
|
|
|
|
armv7l: "arm-7"
|
|
|
|
|
2019-03-02 07:54:49 +00:00
|
|
|
gitea_iset_suffix: "{{ iset_suffixes[ansible_architecture] | default('unknown') }}"
|
2018-10-18 07:26:39 +00:00
|
|
|
|
|
|
|
gitea_download_url: "https://dl.gitea.io/gitea/{{ gitea_version }}/gitea-{{ gitea_version }}-linux-{{ gitea_iset_suffix }}"
|
2018-10-18 07:36:00 +00:00
|
|
|
gitea_integrity_url: "{{ gitea_download_url }}.asc"
|
2018-10-18 07:26:39 +00:00
|
|
|
|
2018-10-18 16:35:16 +00:00
|
|
|
gitea_root_directory: "/library/gitea"
|
2018-10-18 16:42:14 +00:00
|
|
|
gitea_subdirectories:
|
|
|
|
- bin
|
|
|
|
- custom
|
|
|
|
- data
|
|
|
|
- indexers
|
|
|
|
- public
|
|
|
|
- log
|
2018-10-18 16:35:16 +00:00
|
|
|
gitea_install_path: "{{ gitea_root_directory }}/bin/gitea-{{ gitea_version }}"
|
|
|
|
gitea_checksum_path: "{{ gitea_root_directory }}/bin/gitea-{{ gitea_version }}.asc"
|
|
|
|
|
|
|
|
gitea_link_path: "{{ gitea_root_directory }}/gitea"
|
|
|
|
|
2019-02-27 22:02:55 +00:00
|
|
|
# Information needed to verify Gitea
|
|
|
|
gitea_gpg_key: 7C9E68152594688862D62AF62D9AE806EC1592E2
|
|
|
|
|
2018-10-18 05:46:12 +00:00
|
|
|
# Information needed to run Gitea
|
|
|
|
gitea_user: gitea
|
2019-03-07 02:19:46 +00:00
|
|
|
gitea_home: "/home/{{ gitea_user }}" # SSH credentials stored here
|
2018-10-18 16:35:16 +00:00
|
|
|
gitea_run_directory: "{{ gitea_root_directory }}"
|
2018-10-18 05:46:12 +00:00
|
|
|
|
|
|
|
gitea_url: /gitea
|
|
|
|
gitea_full_url: "http://{{ iiab_hostname }}.{{ iiab_domain }}{{ gitea_url }}"
|
|
|
|
|
2018-10-18 06:03:19 +00:00
|
|
|
gitea_port: 61734 # leet for GITEA
|