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