ansible-roles/openldap-server/defaults/main.yml

29 lines
1.0 KiB
YAML
Raw Normal View History

---
openldap_pkg_state: present
openldap_service_enabled: True
openldap_pkg_list:
- slapd
- ldapvi
- ldap-utils
- ldapscripts
openldap_slapd_tcp_port: 389
openldap_slapd_ssl_port: 636
openldap_slapd_ssl_only: False
# Set slapd_admin_pwd in a vault file
slapd_debconf_params:
- { question: 'slapd/password1', value: '{{ slapd_admin_pwd }}', vtype: 'password' }
- { question: 'slapd/password2', value: '{{ slapd_admin_pwd }}', vtype: 'password' }
- { question: 'slapd/internal/adminpw', value: '{{ slapd_admin_pwd }}', vtype: 'password' }
- { question: 'slapd/no_configuration', value: 'false', vtype: 'boolean' }
- { question: 'shared/organization', value: 'Organization', vtype: 'text' }
- { question: 'slapd/purge_database', value: 'false', vtype: 'boolean' }
- { question: 'slapd/allow_ldap_v2', value: 'true', vtype: 'boolean' }
- { question: 'slapd/backend', value: 'HDB', vtype: 'select' }
- { question: 'slapd/domain', value: 'DNS Domain Name', vtype: 'text' }
# openldap_allowed_clients:
# - ip/32
# - net/24