mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Cleaner Gitea playbook + 2 tasks/main.yml's
This commit is contained in:
parent
34fcddf467
commit
413ff01132
9 changed files with 124 additions and 103 deletions
|
@ -7,7 +7,8 @@
|
|||
# Using @coolaj86's script as a template
|
||||
# https://git.coolaj86.com/coolaj86/gitea-installer.sh
|
||||
|
||||
# Information needed to install Gitea
|
||||
# Info needed to install Gitea:
|
||||
|
||||
gitea_version: 1.10.3
|
||||
iset_suffixes:
|
||||
i386: 386
|
||||
|
@ -20,7 +21,7 @@ gitea_iset_suffix: "{{ iset_suffixes[ansible_architecture] | default('unknown')
|
|||
gitea_download_url: "https://dl.gitea.io/gitea/{{ gitea_version }}/gitea-{{ gitea_version }}-linux-{{ gitea_iset_suffix }}"
|
||||
gitea_integrity_url: "{{ gitea_download_url }}.asc"
|
||||
|
||||
gitea_root_directory: /library/gitea
|
||||
gitea_root_directory: "{{ content_base }}/gitea" # /library/gitea
|
||||
gitea_subdirectories:
|
||||
- bin
|
||||
- custom
|
||||
|
@ -31,19 +32,9 @@ gitea_subdirectories:
|
|||
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"
|
||||
|
||||
# Information needed to verify Gitea
|
||||
# Info needed to verify Gitea
|
||||
gitea_gpg_key: 7C9E68152594688862D62AF62D9AE806EC1592E2
|
||||
|
||||
# Information needed to run Gitea
|
||||
gitea_user: gitea
|
||||
gitea_home: "/home/{{ gitea_user }}" # SSH credentials stored here
|
||||
gitea_run_directory: "{{ gitea_root_directory }}"
|
||||
|
||||
gitea_url: /gitea
|
||||
gitea_port: 61734 # leet for GITEA
|
||||
|
||||
# Data locations
|
||||
gitea_db_path: "{{ gitea_root_directory }}/data/gitea.db"
|
||||
gitea_repo_root: "{{ gitea_root_directory }}/data/repositories"
|
||||
|
@ -55,3 +46,14 @@ gitea_log_root: "{{ gitea_root_directory }}/log"
|
|||
# Extra configuration
|
||||
gitea_display_name: Internet-in-a-Box Gitea
|
||||
skip_install_screen: true # lowercase for Gitea's own /etc/gitea/app.ini
|
||||
|
||||
gitea_link_path: "{{ gitea_root_directory }}/gitea"
|
||||
|
||||
# Info needed to run Gitea:
|
||||
|
||||
gitea_user: gitea
|
||||
gitea_home: "/home/{{ gitea_user }}" # SSH credentials stored here
|
||||
gitea_run_directory: "{{ gitea_root_directory }}"
|
||||
|
||||
gitea_url: /gitea
|
||||
gitea_port: 61734 # leet for GITEA
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue