---
# handlers file for xray
- name: restart xray
  become: yes
  systemd:
    name: "{{ xray_daemon }}"
    state: restarted

- name: stop xray
  become: yes
  systemd:
    name: "{{ xray_daemon }}"
    state: stopped
