Browse Source

playbook ldap with replication

python3
Zolfa 5 years ago
parent
commit
2fe5d4f99a
Signed by: zolfa GPG Key ID: E1A43B038C4D6616
1 changed files with 18 additions and 0 deletions
  1. +18
    -0
      ldap.yaml

+ 18
- 0
ldap.yaml View File

@ -3,17 +3,35 @@
vars:
host: 'ldap'
vm_size: '1G'
unprivileged: true
- hosts: 'ldap'
vars:
ca_cert_tls_key_algorithm: 'rsa'
roles:
- role: 'dns_record'
- role: 'ldap'
virtual_domains:
- '{{ domain }}'
ldap_syncrepl_is_provider: true
ldap_syncrepl_is_consumer: false
ldap_syncrepl_server_id: 1
# Default values:
#ldap_tls_enabled: true
#ldap_check_tree: true
- role: 'monitoring-agent'
- role: 'borgrepo'
tags: 'borg'
borgrepo_repos:
core:
folders:
slapd_log:
path: '/var/log/openldap'
ldap_dbs:
slapd_conf:
dbnum: 0
slapd_lilik:
dbnum: 1
- hosts: 'monitoring_hosts'
roles:


Loading…
Cancel
Save