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