Delete install_ldap_389ds.yaml

This commit is contained in:
David Rotermund 2024-07-13 18:02:04 +02:00 committed by GitHub
parent 3226281ff3
commit 9b5d0d4060
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,58 +0,0 @@
---
- name: install ldap
hosts: all
become: true
vars:
ldap_pwd: "{{ env_ldap_pw }}"
tasks:
- name: install sssd
dnf:
name: "sssd,sssd-client"
state: latest
update_cache: true
skip_broken: true
nobest: false
allowerasing: true
- name: install 389
dnf:
name: "389-ds-base"
state: latest
update_cache: true
skip_broken: true
nobest: false
allowerasing: true
- name: set instance.inf
blockinfile:
path: /root/instance.inf
state: present
create: true
owner: "root"
group: "root"
mode: "0666"
block: |
[general]
full_machine_name = overleaf.neuro.uni-bremen.de
start = True
strict_host_checking = False
[slapd]
instance_name = localhost
root_dn = cn=admin
root_password = {{ ldap_pwd }}
port = 389
secure_port = 636
self_sign_cert = True
[backend-userroot]
sample_entries = yes
suffix = dc=overleaf,dc=neuro,dc=uni-bremen,dc=de
# cd /root ; dscreate from-file instance.inf
# ldapsearch -x -H ldap://overleaf.neuro.uni-bremen.de -s base -b "" "objectclass=*"