ldap-server: Autodetect ldap data directory
This commit is contained in:
parent
64e2b45d6f
commit
68d903e31c
3 changed files with 10 additions and 4 deletions
|
@ -1,4 +1,5 @@
|
|||
---
|
||||
ldap_server_cert: "{% if ldap_master is defined %}ldap01.foo.sh{% else %}\
|
||||
ldap.foo.sh{% endif %}"
|
||||
ldap_datadir: /srv/ldap
|
||||
ldap_datadir: "{% if ansible_local['export'] %}/export/ldap{% else %}/srv/ldap{% endif %}"
|
||||
ldap_backupdir: "{% if ansible_local['export'] %}/export/backup{% else %}/srv/backup{% endif %}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue