mirror of
https://github.com/roles-ansible/ansible_collection_wireguard.git
synced 2024-10-27 22:47:42 +01:00
24 lines
627 B
YAML
24 lines
627 B
YAML
---
|
|
- 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'
|