feat: keycloak & ldap

This commit is contained in:
2023-01-14 08:02:39 +01:00
parent 90b529fb32
commit 4b487106c8
10 changed files with 187 additions and 2 deletions

View File

@@ -0,0 +1,18 @@
- name: Install LDAP packages
apt:
pkg:
- slapd
- ldap-utils
- name: Slapd /etc/default
lineinfile:
path: /etc/default/slapd
regex: "^SLAP_SERVICES=.*$"
line: SLAPD_SERVICES="ldap://127.0.0.1:389/ ldaps:/// ldapi:///"
notify: restart slapd
# etc default slapd conf
- name: LDAP Conf
template:
src: slapd.conf
dest: /etc/ldap/slapd.conf