gitlab: Add SMTP starttls & verify mode as variables
This commit is contained in:
parent
be1610d8fb
commit
09402ed943
2 changed files with 5 additions and 2 deletions
|
@ -61,6 +61,8 @@ gitlab_smtp_password: "{{ lookup('passwordstore', gitlab_domain + '/' + gitlab_
|
|||
gitlab_smtp_tls: "{{ gitlab_snmp_tls | default('true') }}" # There was a typo in the config option name, this makes sure it's falling back properly
|
||||
gitlab_email_from: "{{ gitlab_smtp_user_name }}"
|
||||
gitlab_email_reply_to: "{{ gitlab_smtp_user_name }}"
|
||||
gitlab_smtp_starttls_auto: false
|
||||
gitlab_smtp_openssl_verify_mode: "peer"
|
||||
|
||||
# Libravatar / Gravatar URLs
|
||||
gitlab_libravatar_plain: "cdn.libravatar.org"
|
||||
|
|
|
@ -60,8 +60,9 @@ services:
|
|||
gitlab_rails['smtp_password'] = "{{ gitlab_smtp_password }}"
|
||||
gitlab_rails['smtp_authentication'] = "login"
|
||||
gitlab_rails['smtp_domain'] = "{{ gitlab_smtp_address }}"
|
||||
gitlab_rails['smtp_tls'] = {{ gitlab_smtp_tls }}
|
||||
gitlab_rails['smtp_openssl_verify_mode'] = 'peer'
|
||||
gitlab_rails['smtp_tls'] = {{ gitlab_smtp_tls | bool | lower }}
|
||||
gitlab_rails['smtp_enable_starttls_auto'] = {{ gitlab_smtp_starttls_auto | bool | lower }}
|
||||
gitlab_rails['smtp_openssl_verify_mode'] = '{{ gitlab_smtp_openssl_verify_mode }}'
|
||||
|
||||
gitlab_rails['gitlab_email_from'] = '{{ gitlab_email_from }}'
|
||||
gitlab_rails['gitlab_email_reply_to'] = '{{ gitlab_email_reply_to }}'
|
||||
|
|
Loading…
Add table
Reference in a new issue