fix: add handlers for odhcpd / dnsmasq reload

for: issue #6

Based on 01fda612ae/handlers/main.yml (L8)
This commit is contained in:
2026-04-26 18:09:27 -04:00
parent 26ef6cdc33
commit 10fd5b8668

View File

@@ -0,0 +1,12 @@
---
- name: reload odhcpd
nohup:
command: /etc/init.d/odhcpd reload
delay: 1
when: "'openwrt' in group_names"
- name: reload dnsmasq
nohup:
command: /etc/init.d/dnsmasq reload
delay: 1
when: "'openwrt' in group_names"