Implement LDAP server role.
This commit is contained in:
parent
b3b8d3d342
commit
0597d178e0
4 changed files with 156 additions and 0 deletions
4
roles/ldap/defaults/main.yml
Normal file
4
roles/ldap/defaults/main.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
ldap_admin_pwd: "{{ lookup('password', '/tmp/ldap_admin.pwd length=24') }}"
|
||||
ldap_pwd_file: "/root/ldap-admin.pwd"
|
||||
ldap_domain: "{{ ansible_domain | default('intern', true) }}"
|
||||
basedn: "{{ 'dc=' + ( ldap_domain | replace('^.','') | replace('.$','') | replace('.',',dc=')) }}"
|
Loading…
Add table
Add a link
Reference in a new issue