Skip to content

Commit

Permalink
Fix slapd_tasks failing with Debops 3.0
Browse files Browse the repository at this point in the history
Without the FQCN, the debops ldap_attrs plugin is used, which is buggy.

This is a manual fix in lieue of cherry-picking this commit, which
should nonetheless apply cleanly once we switch to Debops 3.1:

debops@4d70e99
  • Loading branch information
href committed Jan 25, 2024
1 parent 42cce9f commit ea5404c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ansible/roles/slapd/tasks/slapd_tasks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# SPDX-License-Identifier: GPL-3.0-only

- name: '{{ item.name }}'
ldap_entry:
community.general.ldap_entry:
dn: '{{ item.dn if (item.dn is string) else item.dn | join(",") }}'
objectClass: '{{ item.objectClass | d(omit) }}'
attributes: '{{ item.attributes | d(omit) }}'
Expand All @@ -19,7 +19,7 @@
else False) }}'

- name: '{{ item.name }}'
ldap_attrs:
community.general.ldap_attrs:
dn: '{{ item.dn if (item.dn is string) else item.dn | join(",") }}'
attributes: '{{ item.attributes | d({}) }}'
ordered: '{{ item.ordered | d(False) }}'
Expand Down

0 comments on commit ea5404c

Please sign in to comment.