mirror of
https://github.com/FAUSheppy/no-secrets-athq-ansible
synced 2025-12-06 07:51:35 +01:00
19 lines
382 B
YAML
19 lines
382 B
YAML
- 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
|