aboutsummaryrefslogtreecommitdiff
path: root/roles/openldap/tasks/main.yml
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2022-06-05 23:26:31 +0200
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2022-06-05 23:26:31 +0200
commit2c57b5370c6cd44f700985132f360c15d2664ebf (patch)
tree7d4584d90f126ecb5ea2e707e597e61d60617ed0 /roles/openldap/tasks/main.yml
parent736ffc77f09a8e238e63a9819d19fe41e7c523d4 (diff)
downloadansible_collection-2c57b5370c6cd44f700985132f360c15d2664ebf.tar.gz
openldap: Add custom schema options
Allows to specify custom schema entries in config file
Diffstat (limited to 'roles/openldap/tasks/main.yml')
-rw-r--r--roles/openldap/tasks/main.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/roles/openldap/tasks/main.yml b/roles/openldap/tasks/main.yml
index 594e30e..27aca52 100644
--- a/roles/openldap/tasks/main.yml
+++ b/roles/openldap/tasks/main.yml
@@ -73,6 +73,10 @@
state: present
become: yes
+- name: Install custom schema
+ include_tasks: schema.yml
+ loop: '{{ ldap.schema | default([]) }}'
+
#
# schema
#