fix further logic

This commit is contained in:
nazunalika 2021-07-18 13:50:50 -07:00
parent 7e74b8c3e3
commit f755147df9
Signed by: label
GPG Key ID: 6735C0E1BD65D048
2 changed files with 3 additions and 3 deletions

View File

@ -95,8 +95,8 @@ nginx['ssl_client_certificate'] = "{{ gitlab_nginx_ssl_client_certificate }}"
{% endif %} {% endif %}
# GitLab registry. # GitLab registry.
registry['enable'] = {{ gitlab_registry_enable }} registry['enable'] = {{ gitlab_registry_enable | string | lower }}
{% if gitlab_registry_enable == "true" %} {% if gitlab_registry_enable %}
registry_external_url "{{ gitlab_registry_external_url }}" registry_external_url "{{ gitlab_registry_external_url }}"
registry_nginx['ssl_certificate'] = "{{ gitlab_registry_nginx_ssl_certificate }}" registry_nginx['ssl_certificate'] = "{{ gitlab_registry_nginx_ssl_certificate }}"
registry_nginx['ssl_certificate_key'] = "{{ gitlab_registry_nginx_ssl_certificate_key }}" registry_nginx['ssl_certificate_key'] = "{{ gitlab_registry_nginx_ssl_certificate_key }}"

View File

@ -68,7 +68,7 @@ gitlab_external_db_host: db.rockylinux.org
gitlab_external_db_user: gitlab gitlab_external_db_user: gitlab
gitlab_external_db_password: "{{ gitlab_db_pass }}" 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_external_url: "https://git.rockylinux.org:5050"
gitlab_registry_nginx_ssl_certificate: "{{ gitlab_ssl_certificate }}" gitlab_registry_nginx_ssl_certificate: "{{ gitlab_ssl_certificate }}"
gitlab_registry_nginx_ssl_certificate_key: "{{ gitlab_registry_nginx_ssl_certificate_key }}" gitlab_registry_nginx_ssl_certificate_key: "{{ gitlab_registry_nginx_ssl_certificate_key }}"