This commit refactors the handler to include functionality for reloading systemd and restarting the Wake-on-LAN (WOL) service, improving system management capabilities.
8 lines
147 B
YAML
8 lines
147 B
YAML
---
|
|
- name: Reload systemd and restart WOL
|
|
ansible.builtin.systemd:
|
|
name: wol
|
|
daemon_reload: true
|
|
enabled: true
|
|
state: restarted
|