fix: add handlers for odhcpd / dnsmasq reload
for: issue #6
Based on 01fda612ae/handlers/main.yml (L8)
This commit is contained in:
12
roles/netconfig/handlers/main.yml
Normal file
12
roles/netconfig/handlers/main.yml
Normal 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"
|
||||
Reference in New Issue
Block a user