diff --git a/group_vars/git.yml b/group_vars/git.yml index b8a5c243..54eb2c91 100644 --- a/group_vars/git.yml +++ b/group_vars/git.yml @@ -129,17 +129,13 @@ gitea_packages_enabled: false # actions gitea_actions_enabled: true gitea_extra_config: | - ; webhook: wird für drone benötigt, sonst wird der Webhook nicht "gesendet" - [webhook] - ALLOWED_HOST_LIST = *.mgrote.net ; für Import/Migration aus anderen Git-Systemen [migrations] ALLOWED_DOMAINS = * ; disabled; see: https://github.com/go-gitea/gitea/issues/25992 [repo-archive] ENABLED = false - [repository] - DISABLE_DOWNLOAD_SOURCE_ARCHIVES = true + # oauth2 gitea_oauth2_jwt_secret: "{{ lookup('viczem.keepass.keepass', 'forgejo_oauth2_jwt_secret', 'password') }}" # Fail2Ban configuration @@ -148,6 +144,10 @@ gitea_fail2ban_jail_maxretry: "3" gitea_fail2ban_jail_findtime: "300" gitea_fail2ban_jail_bantime: "600" gitea_fail2ban_jail_action: "iptables-allports" +# repository +gitea_repository_extra_config: | + [repository] + DISABLE_DOWNLOAD_SOURCE_ARCHIVES = true ### mgrote_gitea_setup gitea_ldap_host: "ldap.mgrote.net"