Ansible roles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

40 lines
1.3 KiB

---
# Version to install
gitea_version: 1.13.4
# URL to the binary
gitea_bin_url: https://dl.gitea.io/gitea/{{ gitea_version }}/gitea-{{ gitea_version }}-linux-amd64
# sha256 of the binary
gitea_bin_sha256: dc15430fe3eccc1f309051798a156361ed4c0ae7de90d83f1f904429a2838033
# Handle updates. If set to false, ansible will only install
# Gitea and then won't touch an existing installation
gitea_manage_upgrade: True
# Root directory of the gitea
gitea_root_dir: /opt/gitea
# The domain name will be used to build GIT URL in the UI
gitea_domain: "{{ inventory_hostname }}"
# Used to build ssh URL. Can be different from gitea_domain, if using a reverse proxy for example
gitea_ssh_domain: "{{ gitea_domain }}"
# Set to the public URL where gitea will be available
gitea_public_url: 'http://%(DOMAIN)s:%(HTTP_PORT)s/'
# Port of the web interface (plain text http)
gitea_web_port: 3280
# Port for SSH access
gitea_ssh_port: 22
# Used to restrict access to the web interface
gitea_web_src_ip:
- 0.0.0.0/0
# If set, will read username from the following HTTP header
# use when behind a reverse proxy
# gitea_username_header: Auth-User
# Enable user registration
gitea_registration: False
# Database settings
gitea_db_server: "{{ mysql_server | default('localhost') }}"
gitea_db_name: gitea
gitea_db_user: gitea
# A random pass will be created if not set here
# gitea_db_pass: xxxxx