From 3f8db5cc20e6ef75251535c87a412fc01094989e Mon Sep 17 00:00:00 2001 From: Zolfa Date: Fri, 5 Jun 2020 23:43:41 +0200 Subject: [PATCH] roles/ldap: improved log and repl fix --- roles/ldap/tasks/1_configure_server.yaml | 2 +- roles/ldap/tasks/5_configure_replication.yaml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/roles/ldap/tasks/1_configure_server.yaml b/roles/ldap/tasks/1_configure_server.yaml index 17277b2..e05f1a5 100644 --- a/roles/ldap/tasks/1_configure_server.yaml +++ b/roles/ldap/tasks/1_configure_server.yaml @@ -85,7 +85,7 @@ dn: 'cn=config' name: 'olcLogLevel' state: 'exact' - values: 'conns acl' + values: 'stats acl' - name: 'activate auditlog overlay' ldap_entry: diff --git a/roles/ldap/tasks/5_configure_replication.yaml b/roles/ldap/tasks/5_configure_replication.yaml index 4301098..bbf71de 100644 --- a/roles/ldap/tasks/5_configure_replication.yaml +++ b/roles/ldap/tasks/5_configure_replication.yaml @@ -17,6 +17,7 @@ path: '/etc/ldap/syncrepl.key' owner: 'openldap' group: 'openldap' + when: ldap_syncrepl_is_consumer - name: 'SYNC | activate syncprov module' ldap_attr: