force starttls only

This commit is contained in:
2026-01-23 19:00:40 -07:00
parent 37017b9f8a
commit 2b1a5ee3f9
2 changed files with 15 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
- name: Create systemd override directory for slapd
file:
path: /etc/systemd/system/slapd.service.d
state: directory
mode: '0755'
- name: Configure slapd listeners (LDAP + LDAPI only)
copy:
dest: /etc/systemd/system/slapd.service.d/override.conf
mode: '0644'
content: |
[Service]
ExecStart=
ExecStart=/usr/sbin/slapd -u ldap -g ldap -h "ldap:/// ldapi:///"

View File

@@ -1,4 +1,5 @@
- import_tasks: install.yaml - import_tasks: install.yaml
- import_tasks: disable_ldaps.yaml
- import_tasks: schemas.yaml - import_tasks: schemas.yaml
- import_tasks: config.yaml - import_tasks: config.yaml
- import_tasks: tls.yaml - import_tasks: tls.yaml