Added role

This commit is contained in:
itdoginfo
2024-04-18 15:16:25 +03:00
parent 8ca4fb08d6
commit 60b94f4e48
8 changed files with 306 additions and 190 deletions

26
handlers/main.yml Normal file
View 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