🐛 Fix ldap cert directories

This commit is contained in:
Stefan Haun 2022-10-24 21:14:40 +02:00
parent fa16ebc4ae
commit f6b33076e0

View file

@ -48,7 +48,7 @@
- "{{ openldap_data }}/ldap" - "{{ openldap_data }}/ldap"
- "{{ openldap_data }}/slapd" - "{{ openldap_data }}/slapd"
- "{{ openldap_data }}/ldif" - "{{ openldap_data }}/ldif"
- "{{ dehydrated_certs_dir }}/certs/{{ openldap_domain }}" - "{{ dehydrated_certs_dir }}/{{ openldap_domain }}"
- name: Ensure container for openLDAP is running. - name: Ensure container for openLDAP is running.
docker_container: docker_container:
@ -83,7 +83,7 @@
volumes: volumes:
- "{{ openldap_data }}/ldap:/var/lib/ldap" - "{{ openldap_data }}/ldap:/var/lib/ldap"
- "{{ openldap_data }}/slapd:/etc/ldap/slapd.d" - "{{ openldap_data }}/slapd:/etc/ldap/slapd.d"
- "{{ dehydrated_certs_dir }}/certs/{{ openldap_domain }}:/container/service/slapd/assets/certs" - "{{ dehydrated_certs_dir }}/{{ openldap_domain }}:/container/service/slapd/assets/certs"
- "{{ openldap_data }}/ldif/custom-element.ldif:/container/service/slapd/assets/config/bootstrap/ldif/custom/01_netz39.ldif" - "{{ openldap_data }}/ldif/custom-element.ldif:/container/service/slapd/assets/config/bootstrap/ldif/custom/01_netz39.ldif"
timeout: 500 timeout: 500
command: "--copy-service --loglevel debug" command: "--copy-service --loglevel debug"