mv firewall scripts to roles.

This commit is contained in:
2020-05-16 16:45:17 +02:00
parent 097f5bea85
commit 1c1a5fce41
14 changed files with 1055 additions and 1458 deletions

View File

@ -0,0 +1,20 @@
- name: Restart IPv4 Firewall
service:
name: ipt-firewall
state: restarted
when:
- main_ipv4_exists.stat.exists
- name: Restart IPv6 Firewall
service:
name: ip6t-firewall
state: restarted
when:
- main_ipv6_exists.stat.exists
- name: Restart Munin Node
service:
name: munin-node
state: restarted
when:
- munin_node_exists.stat.exists