Changeset - ec982756013f
[Not reviewed]
0 1 2
Branko Majic (branko) - 10 years ago 2015-03-08 11:19:47
branko@majic.rs
MAR-1: Explicitly enable the slapd service. Added configuration of system logger for separating slapd log messages.
3 files changed with 14 insertions and 0 deletions:
0 comments (0 inline, 0 general)
roles/ldap_server/files/slapd_rsyslog.conf
Show inline comments
 
new file 100644
 
# Log slapd messages into separate log file.
 
local4.*		/var/log/slapd.log
roles/ldap_server/handlers/main.yml
Show inline comments
 
new file 100644
 
---
 

	
 
- name: Restart rsyslog
 
  service: name=rsyslog state=restarted
 
\ No newline at end of file
roles/ldap_server/tasks/main.yml
Show inline comments
 
@@ -9,6 +9,14 @@
 
- name: Install slapd
 
  apt: name=slapd state=installed
 

	
 
- name: Enable slapd service
 
  service: name=slapd enabled=yes state=started
 

	
 
- name: Deploy system logger configuration file for slapd
 
  copy: src=slapd_rsyslog.conf dest=/etc/rsyslog.d/slapd.conf owner=root group=root mode=0644
 
  notify:
 
    - Restart rsyslog
 

	
 
- name: Install Python LDAP bindings
 
  apt: name=python-ldap state=installed
 

	
0 comments (0 inline, 0 general)