add iptables --flush to reset role

This commit is contained in:
Roger Welin 2017-03-21 10:13:54 +01:00
parent b7fbf19c91
commit da26c560b2

View file

@ -49,6 +49,10 @@
command: umount {{item}} command: umount {{item}}
with_items: '{{ mounted_dirs.stdout_lines }}' with_items: '{{ mounted_dirs.stdout_lines }}'
- name: flush iptables
iptables:
flush: yes
- name: reset | delete some files and directories - name: reset | delete some files and directories
file: file:
path: "{{ item }}" path: "{{ item }}"