mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-09-06 10:21:34 +02:00
Huge role refactoring/cleanup. Other commits will propably follow. Because some bugs will exist. Still important for longrun and also for auto docs/help/slideshow generation
This commit is contained in:
10
roles/service-openldap/vars/configuration.yml
Normal file
10
roles/service-openldap/vars/configuration.yml
Normal file
@@ -0,0 +1,10 @@
|
||||
images:
|
||||
openldap: "bitnami/openldap:latest"
|
||||
network:
|
||||
local: True # Activates local network. Necessary for LDIF import routines
|
||||
docker: True # Activates docker network to allow other docker containers to connect
|
||||
public: False # Set to true in inventory file if you want to expose the LDAP port to the internet
|
||||
hostname: "ldap" # Hostname of the LDAP Server in the central_ldap network
|
||||
webinterface: "lam" # The webinterface which should be used. Possible: lam and phpldapadmin
|
||||
features:
|
||||
ldap: true
|
17
roles/service-openldap/vars/main.yml
Normal file
17
roles/service-openldap/vars/main.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
application_id: "ldap"
|
||||
|
||||
# LDAP Variables
|
||||
ldaps_docker_port: 636
|
||||
ldap_docker_port: 389
|
||||
ldap_server_uri: "ldap://127.0.0.1:{{ ports.localhost.ldap.ldap }}"
|
||||
ldap_hostname: "{{ applications[application_id].hostname }}"
|
||||
ldap_bind_dn: "{{ ldap.dn.administrator.configuration }}"
|
||||
ldap_bind_pw: "{{ applications[application_id].credentials.administrator_password }}"
|
||||
|
||||
# LDIF Variables
|
||||
ldif_host_path: "{{docker_compose.directories.volumes}}ldif/"
|
||||
ldif_docker_path: "/tmp/ldif/"
|
||||
ldif_types:
|
||||
- configuration
|
||||
- data
|
||||
- schema # Don't know if this is still needed, it's now setup via tasks
|
Reference in New Issue
Block a user