From 517f9babccd23dd6693290ab3c279631b90a136b Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Wed, 3 Apr 2024 11:00:29 +0200 Subject: [PATCH] d --- roles/mgrote_lldap/tasks/main.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/roles/mgrote_lldap/tasks/main.yml b/roles/mgrote_lldap/tasks/main.yml index 5414dd2f..9a068388 100644 --- a/roles/mgrote_lldap/tasks/main.yml +++ b/roles/mgrote_lldap/tasks/main.yml @@ -4,6 +4,17 @@ deb: "{{ lldap_package_url }}" notify: Ensure services are enabled and started +- name: Ensure needed directories exist + ansible.builtin.file: + path: "{{ item }}" + state: directory + owner: lldap + group: lldap + loop: + - /usr/share/lldap/app/static/fonts + - /usr/share/lldap/app/static + - /usr/share/lldap/app/pkg + - name: Ensure config is templated ansible.builtin.template: src: lldap_config.toml.j2