make it work on debian

This commit is contained in:
2021-03-01 14:54:56 +01:00
parent 590f5c012c
commit 1f9af114de
10 changed files with 29 additions and 45 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