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

Add username and password for smpt servers. Defaulting to blank

This commit is contained in:
Bèr Kessels 2019-06-10 21:10:39 +02:00 committed by Thomas Maurice
parent b15b242dde
commit fe4db0bb07
2 changed files with 4 additions and 2 deletions

View file

@ -47,6 +47,8 @@ gitea_mailer_skip_verify: false
gitea_mailer_tls_enabled: true
gitea_mailer_host: localhost:25
gitea_mailer_from: noreply@your.domain
gitea_mailer_user: ""
gitea_mailer_password: ""
gitea_fail2ban_enabled: false
gitea_fail2ban_jail_maxretry: 10

View file

@ -126,9 +126,9 @@ 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
USER =
USER = {{ gitea_mailer_user }}
; Use PASSWD = `your password` for quoting if you use special characters in the password.
PASSWD =
PASSWD = `{{ gitea_mailer_password }}`
; Send mails as plain text
SEND_AS_PLAIN_TEXT = false
; Set Mailer Type (either SMTP, sendmail or dummy to just send to the log)