Refractor ldap

This commit is contained in:
Alexandre Iooss 2019-08-29 07:03:05 +02:00
parent e15ea7854a
commit 743e902e85
No known key found for this signature in database
GPG key ID: 6C79278F3FCDCC02
2 changed files with 2 additions and 10 deletions

View file

@ -7,19 +7,12 @@
- nslcd
- libnss-ldapd
- libpam-ldapd
- nscd # local cache
state: present
register: apt_result
retries: 3
until: apt_result is succeeded
# Reduce LDAP load
# For the moment it is broken on Stretch when using PHP7.3
# - name: Install LDAP cache package
# apt:
# name: nscd
# state: present
# update_cache: true
# Configure /etc/nslcd.conf
- name: Configure nslcd LDAP credentials
template:
@ -38,5 +31,4 @@
- passwd
- group
- shadow
- sudoers
notify: Restart nslcd service

View file

@ -1,6 +1,6 @@
---
# Install and configure main LDAP tools
- include_tasks: 0_install_ldap.yml
- include_tasks: install_ldap.yml
# Filter who can access server and sudo on groups
- include_tasks: 1_group_security.yml