ansible-role-ldap-auth-client icon indicating copy to clipboard operation
ansible-role-ldap-auth-client copied to clipboard

[unmaintained] Setup LDAP user authentication using debconf in Debian and Ubuntu

ldap-auth-config Role for Ansible

No Maintenance Intended

Setup LDAP user authentication using debconf in Debian and Ubuntu.

Requirements

The role uses apt module and debconf module which have basic dependencies.

Role Variables

Variables reflect the debconf settings for ldap-auth-config package, see also sudo debconf-show ldap-auth-client.

See vars/main.yml for a complete list of variables. Note that type key must be present in your variables configuration unless you have hash merging enabled.

Example Playbook

roles:
  - role: jnv.ldap-auth-client
      tags: ldap
      ldap_auth_config:
        ldapns/base-dn:
          type: string
          value: "dc=example,dc=net"
        ldapns/ldap-server:
          type: string
          value: "ldaps://ldap.example.net"
        pam_password:
          type: select
          value: exop
        dbrootlogin:
          type: boolean
          value: false

License

GPLv2