Files
ansible_new_ldap_user/README.md

1.0 KiB

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]

password field optionnal - if empty will be generated automatically - WIP

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