iptables: flush nat table as well as filter table upon reset (#2174)
* iptables: flush nat table as well as filter table upon reset * Indentation fix
This commit is contained in:
parent
08fe61e058
commit
714994cad8
1 changed files with 4 additions and 0 deletions
|
@ -72,7 +72,11 @@
|
||||||
|
|
||||||
- name: flush iptables
|
- name: flush iptables
|
||||||
iptables:
|
iptables:
|
||||||
|
table: "{{ item }}"
|
||||||
flush: yes
|
flush: yes
|
||||||
|
with_items:
|
||||||
|
- filter
|
||||||
|
- nat
|
||||||
when: flush_iptables|bool
|
when: flush_iptables|bool
|
||||||
tags:
|
tags:
|
||||||
- iptables
|
- iptables
|
||||||
|
|
Loading…
Reference in a new issue