ansible/04_container_gitea.yaml

27 lines
728 B
YAML
Raw Normal View History

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:
- { role: do1jlr.gitea, tags: gitea }
vars:
2022-08-03 12:28:16 +00:00
gitea_version: 1.17.0
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
gitea_extra_config: |
[server]
SSH_PORT = 22
SSH_LISTEN_PORT = 2222
SSH_USER = git
BUILTIN_SSH_SERVER_USER = git