From da26c560b24150c835dbffb824fc1b25d3987ab8 Mon Sep 17 00:00:00 2001 From: Roger Welin Date: Tue, 21 Mar 2017 10:13:54 +0100 Subject: [PATCH] add iptables --flush to reset role --- roles/reset/tasks/main.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/roles/reset/tasks/main.yml b/roles/reset/tasks/main.yml index 4df86ea2a..f5f749647 100644 --- a/roles/reset/tasks/main.yml +++ b/roles/reset/tasks/main.yml @@ -49,6 +49,10 @@ command: umount {{item}} with_items: '{{ mounted_dirs.stdout_lines }}' +- name: flush iptables + iptables: + flush: yes + - name: reset | delete some files and directories file: path: "{{ item }}"