diff --git a/roles/reset/tasks/main.yml b/roles/reset/tasks/main.yml index a9d4a33cb..7be66e707 100644 --- a/roles/reset/tasks/main.yml +++ b/roles/reset/tasks/main.yml @@ -72,7 +72,11 @@ - name: flush iptables iptables: + table: "{{ item }}" flush: yes + with_items: + - filter + - nat when: flush_iptables|bool tags: - iptables