forked from uumas/ansible-docker
Support smtp auth
This commit is contained in:
@@ -14,4 +14,8 @@ These variables are used by multiple roles and have the following default values
|
|||||||
|
|
||||||
```
|
```
|
||||||
reverse_proxy_type: caddy # Allowed values: caddy, traefik, none
|
reverse_proxy_type: caddy # Allowed values: caddy, traefik, none
|
||||||
|
|
||||||
|
smtp_from: # not defined, no smtp login by default
|
||||||
|
smtp_pw: # not defined, see above
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -25,3 +25,5 @@ dependencies:
|
|||||||
GITEA__mailer__HOST: "{{ smtp_server }}:587"
|
GITEA__mailer__HOST: "{{ smtp_server }}:587"
|
||||||
GITEA__mailer__FROM: "{{ smtp_from }}"
|
GITEA__mailer__FROM: "{{ smtp_from }}"
|
||||||
GITEA__mailer__MAILER_TYPE: smtp
|
GITEA__mailer__MAILER_TYPE: smtp
|
||||||
|
GITERA__mailer__USER: "{{ smtp_user | default(omit) }}"
|
||||||
|
GITERA__mailer__PASSWD: "{{ smtp_pw | default(omit) }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user