slapd: correction pb indentation
debut config cache - l'attribut olcdbidlcachesize pose soucis avec ldap_attr
This commit is contained in:
@@ -34,6 +34,7 @@
|
|||||||
olcDbCheckpoint: "1024 30"
|
olcDbCheckpoint: "1024 30"
|
||||||
olcDbCacheSize: 3000
|
olcDbCacheSize: 3000
|
||||||
olcDbIDLCacheSize: 9000
|
olcDbIDLCacheSize: 9000
|
||||||
|
ignore_errors: true
|
||||||
|
|
||||||
- name: reconfigure slapd - access to cn=config and cn=monitor
|
- name: reconfigure slapd - access to cn=config and cn=monitor
|
||||||
ldap_attr:
|
ldap_attr:
|
||||||
@@ -79,24 +80,24 @@
|
|||||||
state: directory
|
state: directory
|
||||||
mode: 0700
|
mode: 0700
|
||||||
|
|
||||||
- name: send ldif files
|
- name: send ldif files
|
||||||
template:
|
template:
|
||||||
src: "{{ item }}"
|
src: "{{ item }}"
|
||||||
dest: /root/Ldif/
|
dest: /root/Ldif/
|
||||||
mode: 0600
|
mode: 0600
|
||||||
loop: "{{ ldap_ldif_files }}"
|
loop: "{{ ldap_ldif_files }}"
|
||||||
|
|
||||||
- name: get list of ldif files
|
- name: get list of ldif files
|
||||||
find:
|
find:
|
||||||
paths: /root/Ldif
|
paths: /root/Ldif
|
||||||
patterns: "*.ldif"
|
patterns: "*.ldif"
|
||||||
file_type: file
|
file_type: file
|
||||||
register: ldif_list
|
register: ldif_list
|
||||||
|
|
||||||
- name: import ldif files
|
- name: import ldif files
|
||||||
command: "ldapadd -c -y /root/.ldap.secret -xD {{ ldap_admin_dn }} -f {{ item .path}}"
|
command: "ldapadd -c -y {{ ldap_secret_file }} -xD {{ ldap_admin_dn }} -f {{ item .path}}"
|
||||||
with_items: "{{ ldif_list.files }}"
|
with_items: "{{ ldif_list.files }}"
|
||||||
ignore_errors: true
|
ignore_errors: true
|
||||||
when: ldap_ldif_files is defined
|
when: ldap_ldif_files is defined
|
||||||
|
|
||||||
- name: configure replication provider
|
- name: configure replication provider
|
||||||
|
|||||||
Reference in New Issue
Block a user