mirror of
https://github.com/itdoginfo/ansible-openwrt-hirkn.git
synced 2025-12-23 07:33:37 +05:00
Added role
This commit is contained in:
26
handlers/main.yml
Normal file
26
handlers/main.yml
Normal file
@@ -0,0 +1,26 @@
|
||||
---
|
||||
- name: Restart network
|
||||
service:
|
||||
name: network
|
||||
state: restarted
|
||||
|
||||
- name: Restart firewall
|
||||
service:
|
||||
name: firewall
|
||||
state: restarted
|
||||
|
||||
- name: Run getdomains script
|
||||
service:
|
||||
name: getdomains
|
||||
state: restarted
|
||||
|
||||
- name: Restart dnscrypt-proxy
|
||||
service:
|
||||
name: dnscrypt-proxy
|
||||
state: restarted
|
||||
enabled: yes
|
||||
|
||||
- name: Restart dnsmasq
|
||||
service:
|
||||
name: dnsmasq
|
||||
state: restarted
|
||||
Reference in New Issue
Block a user