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:
@ -72,7 +72,11 @@
|
||||
|
||||
- name: flush iptables
|
||||
iptables:
|
||||
table: "{{ item }}"
|
||||
flush: yes
|
||||
with_items:
|
||||
- filter
|
||||
- nat
|
||||
when: flush_iptables|bool
|
||||
tags:
|
||||
- iptables
|
||||
|
Reference in New Issue
Block a user