Skip to content
This repository was archived by the owner on Sep 6, 2023. It is now read-only.

Commit e4f7c22

Browse files
committed
Further cleanup to_json
1 parent 26340e5 commit e4f7c22

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

defaults/main.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,7 @@ gitlab_registry_nginx_ssl_certificate_key: "/etc/gitlab/ssl/gitlab.key"
7676

7777
# LetsEncrypt configuration.
7878
gitlab_letsencrypt_enable: "false"
79-
gitlab_letsencrypt_contact_emails:
80-
79+
gitlab_letsencrypt_contact_emails: ["[email protected]"]
8180
gitlab_letsencrypt_auto_renew_hour: 1
8281
gitlab_letsencrypt_auto_renew_minute: 30
8382
gitlab_letsencrypt_auto_renew_day_of_month: "*/7"

templates/gitlab.rb.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ nginx['ssl_certificate_key'] = "{{ gitlab_ssl_certificate_key }}"
2121

2222
letsencrypt['enable'] = "{{ gitlab_letsencrypt_enable }}"
2323
{% if gitlab_letsencrypt %}
24-
letsencrypt['contact_emails'] = ["{{ gitlab_letsencrypt_contact_emails | to_json }}"]
24+
letsencrypt['contact_emails'] = "{{ gitlab_letsencrypt_contact_emails | to_json }}"
2525
letsencrypt['auto_renew_hour'] = "{{ gitlab_letsencrypt_auto_renew_hour }}"
2626
letsencrypt['auto_renew_minute'] = "{{ gitlab_letsencrypt_auto_renew_minute }}"
2727
letsencrypt['auto_renew_day_of_month'] = "{{ gitlab_letsencrypt_auto_renew_day_of_month }}"

0 commit comments

Comments
 (0)