From 7ad67630c40c0669cc1c140ff2d42311fb780b47 Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Thu, 27 Jul 2023 21:46:38 +0200 Subject: openldap move access control to hostettings --- roles/openldap/tasks/schema.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roles/openldap/tasks/schema.yml') diff --git a/roles/openldap/tasks/schema.yml b/roles/openldap/tasks/schema.yml index 64c7bc8..4d71432 100644 --- a/roles/openldap/tasks/schema.yml +++ b/roles/openldap/tasks/schema.yml @@ -1,7 +1,7 @@ - name: search for entry community.general.ldap_search: dn: 'cn=schema,cn=config' - filter: '(&(objectClass=olcSchemaConfig)(cn={*}openssh-lpk))' + filter: '(&(objectClass=olcSchemaConfig)(cn={*}{{ item["cn"] }}))' scope: children become: yes register: schemareg -- cgit v1.2.3