mickengland.ldap-auth-client
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
Install
ansible-galaxy install mickengland.ldap-auth-clientLicense
Unknown
Downloads
98
Owner
Longtime sys admin with a passion for Open Source. Now spending more time on Security and Compliance.
