ldap groupdn now a var
This commit is contained in:
@@ -13,6 +13,7 @@ Role Variables
|
|||||||
|
|
||||||
* org: no default
|
* org: no default
|
||||||
* ldap_base - from group variables
|
* ldap_base - from group variables
|
||||||
|
* ldap_group_dn - from group variables
|
||||||
* nlu_dn_attribute - firstname or email - default to email
|
* nlu_dn_attribute - firstname or email - default to email
|
||||||
* binddn - from group variables
|
* binddn - from group variables
|
||||||
* bindpwd - from group variables
|
* bindpwd - from group variables
|
||||||
|
|||||||
@@ -34,7 +34,7 @@
|
|||||||
- name: "add account to group"
|
- name: "add account to group"
|
||||||
when: group != ""
|
when: group != ""
|
||||||
community.general.ldap_attrs:
|
community.general.ldap_attrs:
|
||||||
dn: "cn={{ group }},ou={{ org }},{{ ldap_base }}"
|
dn: "cn={{ group }},{{ ldap_group_dn }}"
|
||||||
bind_dn: "{{ ldap_binddn }}"
|
bind_dn: "{{ ldap_binddn }}"
|
||||||
bind_pw: "{{ ldap_bindpwd }}"
|
bind_pw: "{{ ldap_bindpwd }}"
|
||||||
attributes:
|
attributes:
|
||||||
|
|||||||
Reference in New Issue
Block a user