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 binddn - from group variables bindpwd - from group variables file : default account.csv csv file containing user to create:

org,firstname,lastname,email,[password]

password field optionnal - if empty will be generated automatically

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:

cat <<EOF> account.csv
org,firstname,lastname,email,password
plop,thom,foobar,thom@plope.fr,
EOF
- hosts: collidine
  user: tom
  become: false
  roles:
     - role: tco.new_ldap_user,
       org: plop.fr
       file: ~/Document/Opendoor/Clients/Plop/account.csv

License

BSD

Author Information

Thomas C thomas@opendoor.fr

Description
No description provided
Readme 48 KiB