Skip to content

Commit

Permalink
fix: flush existing iptables rules before loading new rules refs #54
Browse files Browse the repository at this point in the history
  • Loading branch information
poppen committed Feb 23, 2024
1 parent 28e75ca commit 7818d19
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion handlers/main.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
- name: Reload saved iptables rules
ansible.builtin.shell: |
/etc/init.d/netfilter-persistent reload
netfilter-persistent flush
netfilter-persistent reload
changed_when: false

0 comments on commit 7818d19

Please sign in to comment.