Tinker with gitea configs, enable open registration

This commit is contained in:
Salt 2020-05-26 12:27:49 -05:00
parent a04327e07c
commit db9a8d00e0
3 changed files with 5 additions and 3 deletions

View File

@ -35,6 +35,7 @@ gitea_mysql_password: !vault |
33353062343164396465326365653561626363343961326363633231303736316436643935646161
3933353234613430373930663832643934613233383635613433
gitea_app_name: "9iron Gitea"
gitea_disable_registration: "false"
gitea_root_directory: "/cold/gitea-repositories/"
gitea_url: "git.9iron.club"
gitea_webroot: "/var/www/gitea"

View File

@ -3,3 +3,4 @@ gitea_root_directory: "/home/git/gitea-repositories"
gitea_app_name: "Ansible Gitea"
gitea_push_create_user: "true"
gitea_push_create_org: "false"
gitea_disable_registration: "true"

View File

@ -55,9 +55,9 @@ LFS_JWT_SECRET = {{ gitea_lfs_jwt_secret.stdout }}
OFFLINE_MODE = true
[service]
REGISTER_EMAIL_CONFIRM = false
ENABLE_NOTIFY_MAIL = false
DISABLE_REGISTRATION = true
REGISTER_EMAIL_CONFIRM = true
ENABLE_NOTIFY_MAIL = true
DISABLE_REGISTRATION = {{ gitea_disable_registration }}
ALLOW_ONLY_EXTERNAL_REGISTRATION = false
ENABLE_CAPTCHA = false
REQUIRE_SIGNIN_VIEW = false