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: