slapd: rajout config cache
This commit is contained in:
@@ -21,7 +21,7 @@
|
|||||||
state: started
|
state: started
|
||||||
enabled: yes
|
enabled: yes
|
||||||
|
|
||||||
- name: reconfigure slapd
|
- name: configure main database - admin, suffix and cache
|
||||||
ldap_attr:
|
ldap_attr:
|
||||||
dn: olcDatabase={2}hdb,cn=config
|
dn: olcDatabase={2}hdb,cn=config
|
||||||
name: "{{ item.key }}"
|
name: "{{ item.key }}"
|
||||||
@@ -31,6 +31,9 @@
|
|||||||
olcSuffix: "{{ ldap_suffix }}"
|
olcSuffix: "{{ ldap_suffix }}"
|
||||||
olcRootDN: "{{ ldap_admin_dn }}"
|
olcRootDN: "{{ ldap_admin_dn }}"
|
||||||
olcRootPW: "{{ ldap_admin_password }}"
|
olcRootPW: "{{ ldap_admin_password }}"
|
||||||
|
olcDbCheckpoint: "1024 30"
|
||||||
|
olcDbCacheSize: 3000
|
||||||
|
olcDbIDLCacheSize: 9000
|
||||||
|
|
||||||
- name: reconfigure slapd - access to cn=config and cn=monitor
|
- name: reconfigure slapd - access to cn=config and cn=monitor
|
||||||
ldap_attr:
|
ldap_attr:
|
||||||
@@ -76,7 +79,6 @@
|
|||||||
state: directory
|
state: directory
|
||||||
mode: 0700
|
mode: 0700
|
||||||
|
|
||||||
block:
|
|
||||||
- name: send ldif files
|
- name: send ldif files
|
||||||
template:
|
template:
|
||||||
src: "{{ item }}"
|
src: "{{ item }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user