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