2022-03-01 23:30:08 +00:00
|
|
|
---
|
|
|
|
- name: GITEA -- install
|
2022-08-03 11:49:56 +00:00
|
|
|
hosts: gitea@lxd.ansol.org
|
2022-03-01 23:30:08 +00:00
|
|
|
roles:
|
2023-10-23 19:02:31 +00:00
|
|
|
- { role: l3d.gitea, tags: gitea }
|
2022-03-01 23:30:08 +00:00
|
|
|
vars:
|
2023-10-23 19:02:31 +00:00
|
|
|
gitea_version: 1.20.5
|
|
|
|
gitea_home: /var/lib/gitea
|
2022-03-01 23:30:08 +00:00
|
|
|
gitea_fqdn: 'git.ansol.org'
|
|
|
|
gitea_root_url: 'https://git.ansol.org'
|
|
|
|
gitea_http_listen: '0.0.0.0'
|
|
|
|
gitea_protocol: http
|
|
|
|
gitea_only_allow_external_registration: true
|
|
|
|
gitea_enable_captcha: false
|
|
|
|
gitea_require_signin: false
|
|
|
|
gitea_show_registration_button: false
|
|
|
|
gitea_start_ssh: true
|
|
|
|
gitea_oauth2_extra_config: |
|
|
|
|
ENABLE_AUTO_REGISTRATION = true
|
|
|
|
USERNAME = email
|
|
|
|
ACCOUNT_LINKING = auto
|
2022-03-07 19:53:09 +00:00
|
|
|
gitea_extra_config: |
|
|
|
|
[server]
|
|
|
|
SSH_PORT = 22
|
|
|
|
SSH_LISTEN_PORT = 2222
|
|
|
|
SSH_USER = git
|
|
|
|
BUILTIN_SSH_SERVER_USER = git
|