openldap: remove cruft
This commit is contained in:
parent
6fca397d25
commit
d38701a0e9
|
@ -6,34 +6,19 @@
|
|||
loop:
|
||||
- "{{ data_folder }}/openldap"
|
||||
- "{{ data_folder }}/openldap/data"
|
||||
- "{{ data_folder }}/openldap/slapd.d"
|
||||
- "{{ data_folder }}/openldap/ldifs"
|
||||
# - name: copy slapd.conf
|
||||
# template:
|
||||
# src: slapd.conf.j2
|
||||
# dest: "{{ data_folder }}/openldap/slapd.d/slapd.conf"
|
||||
# mode: '0755'
|
||||
- name: copy user ldif
|
||||
template:
|
||||
src: lukas.ldif.j2
|
||||
dest: "{{ data_folder }}/openldap/ldifs/lukas.ldif"
|
||||
mode: '0755'
|
||||
- name: run container
|
||||
docker_container:
|
||||
name: "openldap"
|
||||
image: osixia/openldap
|
||||
command: "--loglevel debug"
|
||||
hostname: ldap.dev.local
|
||||
hostname: openldap
|
||||
networks:
|
||||
# - name: bridge
|
||||
- name: nginx-internal
|
||||
ports:
|
||||
- "389:389"
|
||||
- "636:636"
|
||||
volumes:
|
||||
- "{{ data_folder }}/openldap/data:/var/lib/ldap"
|
||||
- "{{ data_folder }}/openldap/slapd.d:/etc/ldap/slapd.d"
|
||||
- "{{ data_folder }}/openldap/ldifs:/container/service/slapd/assets/config/bootstrap/ldif/custom"
|
||||
env:
|
||||
LDAP_ORGANISATION: "Homelab"
|
||||
LDAP_DOMAIN: "kucharczyk.xyz"
|
||||
|
|
Loading…
Reference in New Issue