|
@@ -7,10 +7,11 @@ apply Service "ldaps" {
|
|
|
|
|
|
check_command = "ldap"
|
|
check_command = "ldap"
|
|
|
|
|
|
- vars.ldap_address = host.name
|
|
|
|
|
|
+ vars.ldap_address = host.vars.ldap_fqdn
|
|
vars.ldap_base = "dc=ffho,dc=net"
|
|
vars.ldap_base = "dc=ffho,dc=net"
|
|
vars.ldap_ssl = true
|
|
vars.ldap_ssl = true
|
|
vars.ldap_v3 = true
|
|
vars.ldap_v3 = true
|
|
|
|
|
|
- assign where host.address && "ldap" in host.vars.roles
|
|
|
|
|
|
+ assign where host.vars.ldap_fqdn && "ldap-master" in host.vars.roles
|
|
|
|
+ assign where host.vars.ldap_fqdn && "ldap-replica" in host.vars.roles
|
|
}
|
|
}
|