---
- name: Ensure services are enabled and started
become: true
ansible.builtin.systemd:
name: lldap.service
masked: false
enabled: true
state: started
- name: Ensure service is restarted
state: restarted
...