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

adds template variable for IS_TLS_ENABLED

This commit is contained in:
Mathias Merscher 2019-03-10 14:14:57 +01:00 committed by Thomas Maurice
parent fcae409935
commit d339c620e9
2 changed files with 4 additions and 2 deletions

View file

@ -37,8 +37,10 @@ gitea_require_signin: true
gitea_enable_captcha: true
gitea_force_private: false
gitea_mailer_enabled: false
gitea_mailer_skip_verify: true
gitea_mailer_skip_verify: false
gitea_mailer_tls_enabled: true
gitea_mailer_host: localhost:25
gitea_mailer_from: noreply@your.domain

View file

@ -421,7 +421,7 @@ USE_CERTIFICATE = false
CERT_FILE = {{ gitea_home }}/custom/mailer/cert.pem
KEY_FILE = {{ gitea_home }}/custom/mailer/key.pem
; Should SMTP connection use TLS
IS_TLS_ENABLED = false
IS_TLS_ENABLED = {{ gitea_mailer_tls_enabled }}
; Mail from address, RFC 5322. This can be just an email address, or the `"Name" <email@example.com>` format
FROM = {{ gitea_mailer_from }}
; Mailer user name and password