Infrastructure/ansible/roles/auth-server/tasks/ldap.yml

21 lines
396 B
YAML
Raw Normal View History

2024-02-16 18:01:26 +02:00
---
- name: Install OpenLDAP server
ansible.builtin.package:
name: "{{ install_packages[ansible_os_family] }}"
state: present
vars:
install_packages:
Debian:
- slapd
RedHat:
- openldap
Suse:
- openldap2
- name: Enable and start the OpenLDAP server
ansible.builtin.service:
name: slapd.service
enabled: true
2024-02-19 10:56:04 +02:00
state: started