enable ldap slave
This commit is contained in:
parent
8335a9723e
commit
d599adcd95
2 changed files with 5 additions and 1 deletions
|
@ -29,7 +29,7 @@
|
|||
proxy: https://git02.home.foo.sh/
|
||||
- role: nginx/site
|
||||
site: id.foo.sh
|
||||
proxy: https://ldap01.home.foo.sh/
|
||||
proxy: [ldap01.home.foo.sh,ldap02.home.foo.sh]
|
||||
- role: nginx/site
|
||||
site: ldap.foo.sh
|
||||
redirect: https://www.foo.sh/
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
|
||||
{% if inventory_hostname == "proxy01.home.foo.sh" %}
|
||||
table <ldap_servers> { ldap01.home.foo.sh }
|
||||
{% else %}
|
||||
table <ldap_servers> { ldap01.home.foo.sh, ldap02.home.foo.sh }
|
||||
{% endif %}
|
||||
relay "ldap" {
|
||||
listen on 0.0.0.0 port 636
|
||||
forward to <ldap_servers> check tls
|
||||
|
|
Loading…
Add table
Reference in a new issue