pottwal: ldap dehydrated Config auskommentiert

This commit is contained in:
David Kilias 2022-07-05 17:00:09 +02:00
parent a070cd48b8
commit 2f78ff74f6

View file

@ -26,6 +26,8 @@
openldap_image_version: 1.5.0
openldap_data: "{{ data_dir }}/openldap"
openldap_domain: "ldap.n39.eu"
ldap_org: "Netz39 e.V."
roles:
- role: docker_setup
@ -265,11 +267,11 @@
site_name: pad.n39.eu
proxy_port: "{{ hedgedoc_host_port }}"
- name: Setup dehydrated challenge endpoint for {{ openldap_domain }}
include_role:
name: setup-http-dehydrated
vars:
site_name: "{{ openldap_domain }}"
# - name: Setup dehydrated challenge endpoint for {{ openldap_domain }}
# include_role:
# name: setup-http-dehydrated
# vars:
# site_name: "{{ openldap_domain }}"
- name: Ensure openLDAP directories are present.
file:
@ -279,7 +281,7 @@
- "{{ openldap_data }}/ldap"
- "{{ openldap_data }}/slapd"
- "{{ openldap_data }}/ldif"
- "{{ dehydrated_certs_dir }}/certs/{{ openldap_domain }}"
# - "{{ dehydrated_certs_dir }}/certs/{{ openldap_domain }}"
- name: Ensure container for openLDAP is running.
docker_container:
@ -317,7 +319,7 @@
volumes:
- "{{ openldap_data }}/ldap:/var/lib/ldap"
- "{{ openldap_data }}/slapd:/etc/ldap/slapd.d"
- "{{ dehydrated_certs_dir }}/certs/{{ openldap_domain }}:/container/service/slapd/assets/certs"
# - "{{ dehydrated_certs_dir }}/certs/{{ openldap_domain }}:/container/service/slapd/assets/certs"
- "{{ openldap_data }}/ldif/custom-element.ldif:/container/service/slapd/assets/config/bootstrap/ldif/custom/01_netz39.ldif"
timeout: 500
# For replication to work correctly, domainname and hostname must be