From 6b7e1182b07b1d1009061102edc78820adc043a3 Mon Sep 17 00:00:00 2001 From: michael Date: Tue, 6 Dec 2022 00:16:54 +1300 Subject: [PATCH] b --- ansible/roles/k8s_destroy/tasks/main.yaml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/ansible/roles/k8s_destroy/tasks/main.yaml b/ansible/roles/k8s_destroy/tasks/main.yaml index bf63e6e..e41a0bc 100644 --- a/ansible/roles/k8s_destroy/tasks/main.yaml +++ b/ansible/roles/k8s_destroy/tasks/main.yaml @@ -26,10 +26,9 @@ - mangle - name: purge iptables chains - ansible.builtin.iptables: - table: "{{ item }}" - state: absent - chain_management: true + ansible.builtin.shell: + cmd: | + iptables -t {{ item }} -X with_items: - filter - raw