From fca34cf712aacaa2d8db7a05d93daf3b949e7891 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Tue, 26 Nov 2013 05:25:45 +0100 Subject: Load our schema *before* the database. Since indices are specified in the database LDIF. --- roles/common/tasks/ldap.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'roles') diff --git a/roles/common/tasks/ldap.yml b/roles/common/tasks/ldap.yml index b1ced49..26ab349 100644 --- a/roles/common/tasks/ldap.yml +++ b/roles/common/tasks/ldap.yml @@ -49,11 +49,11 @@ owner=root group=root mode=0644 -- name: Create fripost database and load the schema +- name: Load fripost's schema and configure the database openldap: target=/etc/ldap/{{ item }} state=present with_items: - - fripost/database.ldif - schema/fripost.ldif + - fripost/database.ldif - name: Load LDAP modules openldap: module={{ item }}.la state=present -- cgit v1.2.3