Skip to content
Permalink
Browse files

[debops.gitlab] Fix usage without LDAP

This patch fixes the error "No first item, sequence was empty" during
configuration file generation.
  • Loading branch information...
drybjed committed Sep 29, 2019
1 parent 24c3042 commit d7c934647c6f4234543173268ba955b94bf60e07
Showing with 1 addition and 1 deletion.
  1. +1 −1 ansible/roles/debops.gitlab/defaults/main.yml
@@ -832,7 +832,7 @@ gitlab__ldap_label: 'LDAP'
gitlab__ldap_host: '{{ (ansible_local.ldap.hosts
if (ansible_local|d() and ansible_local.ldap|d() and
ansible_local.ldap.hosts|d())
else []) | first }}'
else [""]) | first }}'

# ]]]
# .. envvar:: gitlab__ldap_port [[[

0 comments on commit d7c9346

Please sign in to comment.
You can’t perform that action at this time.