---
- name: reload systemd
  systemd:
    daemon_reload: yes

- name: restart yanic
  systemd:
    name: yanic
    state: restarted