1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_collection_wireguard.git synced 2024-10-27 22:47:42 +01:00
ansible_collection_wireguard/roles/wireguardui/handlers/main.yml

25 lines
627 B
YAML
Raw Permalink Normal View History

2024-10-14 01:34:07 +02:00
---
- name: Run systemctl restart wgui.path
listen: 'systemctl restart wgui.path'
become: true
ansible.builtin.systemd_service:
name: 'wgui.path'
enabled: true
state: 'restarted'
- name: Run systemctl restart wgui.service
listen: 'systemctl restart wgui.service'
become: true
ansible.builtin.systemd_service:
name: 'wgui.service'
enabled: true
state: 'restarted'
- name: Run systemctl restart wireguard-ui.service
listen: 'systemctl restart wireguard-ui.service'
become: true
ansible.builtin.systemd_service:
name: 'wireguard-ui.service'
enabled: true
state: 'restarted'