Files
ansible_new_ldap_user/README.md

58 lines
1.3 KiB
Markdown

Role Name
=========
Create ldap account for opendoor
Requirements
------------
keepass entry for opendoor/collidine_ldap_password
Role Variables
--------------
* org: no default
* nlu_ldap_base - from group variables
* nlu_ldap_group_dn - from group variables
* nlu_ldap_user_dn - default to ou={{ org }},{{ nlu_ldap_base }}
* nlu_ldap_uri - default ldapi:///
* 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:
```csv
firstname,lastname,email,[password][group]
```
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>