76fab810b0ada078e1e6351bda61302bd5ef0cdc
Role Name
Create ldap account for opendoor
Requirements
keepass entry for opendoor/collidine_ldap_password
Role Variables
- org: no default
- ldap_base - from group variables
- nlu_dn_attribute - firstname or email - default to email
- binddn - from group variables
- bindpwd - from group variables
- file : default account.csv csv file containing user to create:
firstname,lastname,email,[password][grou]
password field optionnal - if empty will be generated automatically
group field optionnal - if not empty, user dn will be put as "member" of cn=group,org,basedn
keep the final comma, though !
Dependencies
None
Example Playbook
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
- hosts: collidine
user: tom
become: false
roles:
- { role: tco.new_ldap_user, org=plop.fr,file: ~/Documents/Opendoor/Clients/Plop/account.csv , nlu_dn_attribute: email }
License
BSD
Author Information
Thomas C thomas@opendoor.fr
Description