aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/roles/firewall/handlers/main.yml
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-08-08 20:14:32 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2023-08-08 22:17:16 +0200
commitbc2d42aab02b5ef9e27ee59a03543b41d99adf04 (patch)
treea84f4ff375e1be7893de190c0f67cd8b64717958 /roles/firewall/handlers/main.yml
parentv0.0.3 (diff)
downloadinfra-ansible-bc2d42aab02b5ef9e27ee59a03543b41d99adf04.tar.gz
infra-ansible-bc2d42aab02b5ef9e27ee59a03543b41d99adf04.zip
add firewall role
Diffstat (limited to '')
-rw-r--r--roles/firewall/handlers/main.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/roles/firewall/handlers/main.yml b/roles/firewall/handlers/main.yml
new file mode 100644
index 0000000..70387f3
--- /dev/null
+++ b/roles/firewall/handlers/main.yml
@@ -0,0 +1,5 @@
+- name: Reload iptables
+ become: true
+ ansible.builtin.systemd_service:
+ name: netfilter-persistent
+ state: restarted