ansible/04_container_gitea.yaml

27 lines
728 B
YAML

---
- name: GITEA -- install
hosts: gitea@lxd.ansol.org
roles:
- { role: do1jlr.gitea, tags: gitea }
vars:
gitea_version: 1.17.0
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