diff --git a/roles/docker/tasks/main.yml b/roles/docker/tasks/main.yml index ff2aef6..272e0d0 100644 --- a/roles/docker/tasks/main.yml +++ b/roles/docker/tasks/main.yml @@ -25,7 +25,8 @@ template: src=daemon.json.j2 dest=/etc/docker/daemon.json - name: flush-iptables - shell: "iptables -F && iptables -X \ + shell: "iptables -P INPUT ACCEPT \ + && iptables -F && iptables -X \ && iptables -F -t nat && iptables -X -t nat \ && iptables -F -t raw && iptables -X -t raw \ && iptables -F -t mangle && iptables -X -t mangle"