make it work basically on debian

This commit is contained in:
2024-02-06 12:10:08 +01:00
parent 4a829ed81a
commit c26cb5f4ac
9 changed files with 75 additions and 69 deletions

View File

@@ -4,6 +4,6 @@
changed_when: false
- name: import additional schemas
command: "ldapadd -Y EXTERNAL -H ldapi:/// -f /etc/openldap/schema/{{ schema }}.ldif"
command: "ldapadd -Y EXTERNAL -H ldapi:/// -f {{ ldap_config_dir }}/schema/{{ schema }}.ldif"
when: schema not in ldap_schema_list.stdout