From 78eeb7b8c6e168c047a928298f6d14fa6b1012c3 Mon Sep 17 00:00:00 2001 From: David Kilias Date: Wed, 26 Oct 2022 21:55:30 +0200 Subject: [PATCH] fix: fix missing file permissions for krypton --- krypton.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/krypton.yml b/krypton.yml index 8d6ea22..9d2a55d 100644 --- a/krypton.yml +++ b/krypton.yml @@ -42,13 +42,14 @@ - name: Ensure openLDAP directories are present. file: - path: "{{ item }}" + path: "{{ item.path }}" + mode: "0755" state: directory with_items: - - "{{ openldap_data }}/ldap" - - "{{ openldap_data }}/slapd" - - "{{ openldap_data }}/ldif" - - "{{ dehydrated_certs_dir }}/{{ openldap_domain }}" + - path: "{{ openldap_data }}/ldap" + - path: "{{ openldap_data }}/slapd" + - path: "{{ openldap_data }}/ldif" + - path: "{{ dehydrated_certs_dir }}/{{ openldap_domain }}" - name: Ensure container for openLDAP is running. docker_container: