summaryrefslogtreecommitdiff
path: root/roles/configure_iptables/handlers
diff options
context:
space:
mode:
Diffstat (limited to 'roles/configure_iptables/handlers')
-rw-r--r--roles/configure_iptables/handlers/main.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/roles/configure_iptables/handlers/main.yml b/roles/configure_iptables/handlers/main.yml
new file mode 100644
index 0000000..63f34e9
--- /dev/null
+++ b/roles/configure_iptables/handlers/main.yml
@@ -0,0 +1,10 @@
+---
+- name: reload iptables
+ systemd:
+ name: iptables.service
+ state: reloaded
+
+- name: reload ip6tables
+ systemd:
+ name: ip6tables.service
+ state: reloaded