homeserver/roles/mgrote_lldap/tasks/main.yml
2024-04-03 10:50:35 +02:00

21 lines
456 B
YAML

---
- name: Ensure package is installed
ansible.builtin.apt:
deb: "{{ lldap_package_url }}"
- name: Ensure config is templated
ansible.builtin.template:
src: lldap_config.toml.j2
dest: /etc/lldap/lldap_config.toml
owner: lldap
group: lldap
mode: "0644"
- name: Ensure services are enabled and started
become: true
ansible.builtin.systemd:
name: lldap.service
masked: false
enabled: true
state: started
...