Skip to content

mickengland/ansible-role-ldap-auth-client

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ldap-auth-config Role for Ansible

Set up LDAP user authentication using debconf in Debian and Ubuntu.

Requirements

The role uses apt module and debconf module which have basic dependencies. You can use bootstrap-debian role to setup common Ansible requirements on Debian-based systems.

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.

Optional dependencies

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published