Changeset - c7a0c2eb39ce
[Not reviewed]
0 0 2
Branko Majic (branko) - 9 years ago 2014-11-21 00:19:15
branko@majic.rs
MAR-1: Added support for deploying the LDAP clients (and configuring them).
2 files changed with 11 insertions and 0 deletions:
0 comments (0 inline, 0 general)
roles/ldap_client/tasks/main.yml
Show inline comments
 
new file 100644
 
---
 

	
 
- name: Install OpenLDAP client tools
 
  apt: name=ldap-utils state=installed
 

	
 
- name: Deploy LDAP client configuration file
 
  template: src=ldap.conf.j2 dest=/etc/ldap/ldap.conf owner=root group=root mode=644
 
\ No newline at end of file
roles/ldap_client/templates/ldap.conf.j2
Show inline comments
 
new file 100644
 
{% for config in ldap_client_config -%}
 
# {{ config.comment }}
 
{{ config.option }} {{config.value }}
 
{% endfor -%}
 
\ No newline at end of file
0 comments (0 inline, 0 general)