2018-11-30 21:52:43 +00:00
|
|
|
# xoxys.ldap_proxy
|
2019-10-17 19:40:30 +00:00
|
|
|
|
|
|
|
[![Build Status](https://drone.rknet.org/api/badges/ansible/xoxys.ldap_proxy/status.svg)](https://drone.rknet.org/ansible/xoxys.ldap_proxy)
|
2018-11-30 21:52:43 +00:00
|
|
|
|
2019-10-17 19:40:30 +00:00
|
|
|
|
|
|
|
Role to setup an openldap proxy
|
|
|
|
|
|
|
|
## Table of content
|
|
|
|
|
|
|
|
* [Default Variables](#default-variables)
|
2019-11-22 23:13:58 +00:00
|
|
|
* [ldap_proxy_acl_file](#ldap_proxy_acl_file)
|
|
|
|
* [ldap_proxy_acls](#ldap_proxy_acls)
|
2019-10-17 19:40:30 +00:00
|
|
|
* [ldap_proxy_base_dir](#ldap_proxy_base_dir)
|
2019-11-22 23:13:58 +00:00
|
|
|
* [ldap_proxy_custom_schemas](#ldap_proxy_custom_schemas)
|
|
|
|
* [ldap_proxy_loglevel](#ldap_proxy_loglevel)
|
2019-10-17 19:40:30 +00:00
|
|
|
* [ldap_proxy_options](#ldap_proxy_options)
|
2019-11-22 23:13:58 +00:00
|
|
|
* [ldap_proxy_readonly_enabled](#ldap_proxy_readonly_enabled)
|
|
|
|
* [ldap_proxy_server](#ldap_proxy_server)
|
|
|
|
* [ldap_proxy_server_suffix](#ldap_proxy_server_suffix)
|
|
|
|
* [ldap_proxy_tls_ca_path](#ldap_proxy_tls_ca_path)
|
2019-10-17 19:40:30 +00:00
|
|
|
* [ldap_proxy_tls_ca_source](#ldap_proxy_tls_ca_source)
|
|
|
|
* [ldap_proxy_tls_cert_path](#ldap_proxy_tls_cert_path)
|
2019-11-22 23:13:58 +00:00
|
|
|
* [ldap_proxy_tls_cert_source](#ldap_proxy_tls_cert_source)
|
|
|
|
* [ldap_proxy_tls_enabled](#ldap_proxy_tls_enabled)
|
2019-10-17 19:40:30 +00:00
|
|
|
* [ldap_proxy_tls_key_path](#ldap_proxy_tls_key_path)
|
2019-11-22 23:13:58 +00:00
|
|
|
* [ldap_proxy_tls_key_source](#ldap_proxy_tls_key_source)
|
|
|
|
* [ldap_proxy_urls](#ldap_proxy_urls)
|
2019-10-17 19:40:30 +00:00
|
|
|
* [Dependencies](#dependencies)
|
|
|
|
* [License](#license)
|
|
|
|
* [Author](#author)
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
## Default Variables
|
|
|
|
|
2019-11-22 23:13:58 +00:00
|
|
|
### ldap_proxy_acl_file
|
2019-10-17 19:40:30 +00:00
|
|
|
|
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
2019-11-22 23:13:58 +00:00
|
|
|
ldap_proxy_acl_file: '{{ ldap_proxy_base_dir }}/slapd.access'
|
2019-10-17 19:40:30 +00:00
|
|
|
```
|
|
|
|
|
2019-11-22 23:13:58 +00:00
|
|
|
### ldap_proxy_acls
|
2019-10-17 19:40:30 +00:00
|
|
|
|
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
2019-11-22 23:13:58 +00:00
|
|
|
ldap_proxy_acls:
|
|
|
|
- access_to:
|
|
|
|
- '*'
|
|
|
|
access_by:
|
|
|
|
- '* read'
|
2019-10-17 19:40:30 +00:00
|
|
|
```
|
|
|
|
|
2019-11-22 23:13:58 +00:00
|
|
|
### ldap_proxy_base_dir
|
2019-10-17 19:40:30 +00:00
|
|
|
|
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
2019-11-22 23:13:58 +00:00
|
|
|
ldap_proxy_base_dir: /etc/openldap
|
2019-10-17 19:40:30 +00:00
|
|
|
```
|
|
|
|
|
2019-11-22 23:13:58 +00:00
|
|
|
### ldap_proxy_custom_schemas
|
2019-10-17 19:40:30 +00:00
|
|
|
|
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
2019-11-22 23:13:58 +00:00
|
|
|
ldap_proxy_custom_schemas: []
|
2019-10-17 19:40:30 +00:00
|
|
|
```
|
|
|
|
|
2019-11-22 23:13:58 +00:00
|
|
|
### ldap_proxy_loglevel
|
2019-10-17 19:40:30 +00:00
|
|
|
|
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
2019-11-22 23:13:58 +00:00
|
|
|
ldap_proxy_loglevel: 0
|
2019-10-17 19:40:30 +00:00
|
|
|
```
|
|
|
|
|
2019-11-22 23:13:58 +00:00
|
|
|
### ldap_proxy_options
|
2019-10-17 19:40:30 +00:00
|
|
|
|
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
2019-11-22 23:13:58 +00:00
|
|
|
ldap_proxy_options: []
|
2019-10-17 19:40:30 +00:00
|
|
|
```
|
|
|
|
|
2019-11-22 23:13:58 +00:00
|
|
|
### ldap_proxy_readonly_enabled
|
2019-10-17 19:40:30 +00:00
|
|
|
|
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
2019-11-22 23:13:58 +00:00
|
|
|
ldap_proxy_readonly_enabled: true
|
2019-10-17 19:40:30 +00:00
|
|
|
```
|
|
|
|
|
2019-11-22 23:13:58 +00:00
|
|
|
### ldap_proxy_server
|
2019-10-17 19:40:30 +00:00
|
|
|
|
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
2019-11-22 23:13:58 +00:00
|
|
|
ldap_proxy_server: ldap://ad.example.com:389
|
2019-10-17 19:40:30 +00:00
|
|
|
```
|
|
|
|
|
2019-11-22 23:13:58 +00:00
|
|
|
### ldap_proxy_server_suffix
|
2019-10-17 19:40:30 +00:00
|
|
|
|
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
2019-11-22 23:13:58 +00:00
|
|
|
ldap_proxy_server_suffix: dc=example,dc=com
|
2019-10-17 19:40:30 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
### ldap_proxy_tls_ca_path
|
|
|
|
|
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
|
|
|
ldap_proxy_tls_ca_path: '{{ ldap_proxy_base_dir }}/certs/ca.path'
|
|
|
|
```
|
|
|
|
|
2019-11-22 23:13:58 +00:00
|
|
|
### ldap_proxy_tls_ca_source
|
2019-10-17 19:40:30 +00:00
|
|
|
|
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
2019-11-22 23:13:58 +00:00
|
|
|
ldap_proxy_tls_ca_source: ca.pem
|
2019-10-17 19:40:30 +00:00
|
|
|
```
|
|
|
|
|
2019-11-22 23:13:58 +00:00
|
|
|
### ldap_proxy_tls_cert_path
|
2019-10-17 19:40:30 +00:00
|
|
|
|
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
2019-11-22 23:13:58 +00:00
|
|
|
ldap_proxy_tls_cert_path: '{{ ldap_proxy_base_dir }}/certs/mycert.pem'
|
2019-10-17 19:40:30 +00:00
|
|
|
```
|
|
|
|
|
2019-11-22 23:13:58 +00:00
|
|
|
### ldap_proxy_tls_cert_source
|
2019-10-17 19:40:30 +00:00
|
|
|
|
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
2019-11-22 23:13:58 +00:00
|
|
|
ldap_proxy_tls_cert_source: mycert.pem
|
2019-10-17 19:40:30 +00:00
|
|
|
```
|
|
|
|
|
2019-11-22 23:13:58 +00:00
|
|
|
### ldap_proxy_tls_enabled
|
2019-10-17 19:40:30 +00:00
|
|
|
|
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
2019-11-22 23:13:58 +00:00
|
|
|
ldap_proxy_tls_enabled: false
|
2019-10-17 19:40:30 +00:00
|
|
|
```
|
|
|
|
|
2019-11-22 23:13:58 +00:00
|
|
|
### ldap_proxy_tls_key_path
|
2019-10-17 19:40:30 +00:00
|
|
|
|
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
2019-11-22 23:13:58 +00:00
|
|
|
ldap_proxy_tls_key_path: '{{ ldap_proxy_base_dir }}/certs/mykey.pem'
|
2019-10-17 19:40:30 +00:00
|
|
|
```
|
|
|
|
|
2019-11-22 23:13:58 +00:00
|
|
|
### ldap_proxy_tls_key_source
|
2019-10-17 19:40:30 +00:00
|
|
|
|
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
2019-11-22 23:13:58 +00:00
|
|
|
ldap_proxy_tls_key_source: mykey.pem
|
2019-10-17 19:40:30 +00:00
|
|
|
```
|
|
|
|
|
2019-11-22 23:13:58 +00:00
|
|
|
### ldap_proxy_urls
|
2019-10-17 19:40:30 +00:00
|
|
|
|
|
|
|
#### Default value
|
|
|
|
|
|
|
|
```YAML
|
2019-11-22 23:13:58 +00:00
|
|
|
ldap_proxy_urls:
|
|
|
|
- ldapi:/// ldap:///
|
2019-10-17 19:40:30 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
## Dependencies
|
|
|
|
|
|
|
|
None.
|
|
|
|
|
|
|
|
## License
|
|
|
|
|
|
|
|
MIT
|
|
|
|
|
|
|
|
## Author
|
|
|
|
|
2019-11-07 08:39:44 +00:00
|
|
|
[xoxys](https://gitea.rknet.org/xoxys)
|