--- - name: restart {{ domain }} systemd: daemon_reload: yes enabled: yes name: "{{ service_name }}" state: restarted