mirror of
https://github.com/rocky-linux/infrastructure
synced 2024-11-21 20:51:27 +00:00
fix further logic
This commit is contained in:
parent
7e74b8c3e3
commit
f755147df9
@ -95,8 +95,8 @@ nginx['ssl_client_certificate'] = "{{ gitlab_nginx_ssl_client_certificate }}"
|
||||
{% endif %}
|
||||
|
||||
# GitLab registry.
|
||||
registry['enable'] = {{ gitlab_registry_enable }}
|
||||
{% if gitlab_registry_enable == "true" %}
|
||||
registry['enable'] = {{ gitlab_registry_enable | string | lower }}
|
||||
{% if gitlab_registry_enable %}
|
||||
registry_external_url "{{ gitlab_registry_external_url }}"
|
||||
registry_nginx['ssl_certificate'] = "{{ gitlab_registry_nginx_ssl_certificate }}"
|
||||
registry_nginx['ssl_certificate_key'] = "{{ gitlab_registry_nginx_ssl_certificate_key }}"
|
||||
|
@ -68,7 +68,7 @@ gitlab_external_db_host: db.rockylinux.org
|
||||
gitlab_external_db_user: gitlab
|
||||
gitlab_external_db_password: "{{ gitlab_db_pass }}"
|
||||
|
||||
gitlab_registry_enable: true
|
||||
gitlab_registry_enable: "true"
|
||||
gitlab_registry_external_url: "https://git.rockylinux.org:5050"
|
||||
gitlab_registry_nginx_ssl_certificate: "{{ gitlab_ssl_certificate }}"
|
||||
gitlab_registry_nginx_ssl_certificate_key: "{{ gitlab_registry_nginx_ssl_certificate_key }}"
|
||||
|
Loading…
Reference in New Issue
Block a user