Create ansible role

This commit is contained in:
itdoginfo
2024-04-17 11:59:31 +03:00
parent 8ca4fb08d6
commit 0c893e7683
12 changed files with 973 additions and 0 deletions

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