1
1
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_gitea.git synced 2024-08-16 11:39:50 +02:00

added several config options for service section

This commit is contained in:
Lyn Matten 2023-08-29 08:52:06 +02:00
parent 2fcbe19790
commit e118d2f7cb
2 changed files with 28 additions and 0 deletions

View file

@ -164,6 +164,19 @@ gitea_only_allow_external_registration: false
gitea_enable_notify_mail: false
gitea_auto_watch_new_repos: true
gitea_service_extra_config: ''
gitea_autowatch_new_repo: false
gitea_autowatch_on_change: true
# make sure, that register_email_confirm is false when register_manual_confirm is set to true
gitea_register_email_confirm: false
gitea_register_manual_confirm: true
gitea_default_allow_create_organization: false
gitea_default_user_is_restricted: true
gitea_email_domain_allowlist: ""
gitea_auto_watch_new_repos: false
gitea_default_user_visibility: limited
gitea_default_org_visibility: limited
gitea_allow_only_internal_registration: true
# gitea_email_domain_allowlist: ""
# Mailer [mailer]
# -> https://docs.gitea.io/en-us/config-cheat-sheet/#mailer-mailer

View file

@ -174,6 +174,21 @@ DEFAULT_KEEP_EMAIL_PRIVATE = {{ gitea_default_keep_mail_private | ternary
SHOW_REGISTRATION_BUTTON = {{ gitea_show_registration_button | ternary('true', 'false') }}
AUTO_WATCH_NEW_REPOS = {{ gitea_auto_watch_new_repos | ternary('true', 'false') }}
ALLOW_ONLY_EXTERNAL_REGISTRATION = {{ gitea_only_allow_external_registration | ternary('true', 'false') }}
; new
AUTO_WATCH_NEW_REPOS = {{ gitea_autowatch_new_repo }}
AUTO_WATCH_ON_CHANGES = {{ gitea_autowatch_on_change }}
SHOW_MILESTONES_DASHBOARD_PAGE = {{ gitea_show_mailstones_dashboard }}
REGISTER_EMAIL_CONFIRM = {{ gitea_register_email_confirm }}
REGISTER_MANUAL_CONFIRM = {{ gitea_register_manual_confirm }}
DEFAULT_ALLOW_CREATE_ORGANIZATION = {{ gitea_default_allow_create_organization }}
DEFAULT_USER_IS_RESTRICTED = {{ gitea_default_user_is_restricted }}
{% if gitea_email_domain_allowlist is defined and gitea_email_domain_allowlist|length %}
EMAIL_DOMAIN_ALLOWLIST = {{ gitea_email_domain_allowlist }}
{% endif %}
AUTO_WATCH_NEW_REPOS = {{ gitea_auto_watch_new_repos }}
DEFAULT_USER_VISIBILITY = {{ gitea_default_user_visibility }}
DEFAULT_ORG_VISIBILITY = {{ gitea_default_org_visibility }}
ALLOW_ONLY_INTERNAL_REGISTRATION = {{ gitea_allow_only_internal_registration }}
{{ gitea_service_extra_config }}
;
;