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:
mirwan 2018-01-25 03:22:49 +01:00 committed by Chad Swenson
parent 08fe61e058
commit 714994cad8

View file

@ -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