diff --git a/roles/docker/tasks/main.yml b/roles/docker/tasks/main.yml index 0968ee6..b95d084 100644 --- a/roles/docker/tasks/main.yml +++ b/roles/docker/tasks/main.yml @@ -77,7 +77,7 @@ template: src=daemon.json.j2 dest=/etc/docker/daemon.json - name: flush-iptables - shell: "iptables -P INPUT ACCEPT \ + shell: "source /etc/profile; iptables -P INPUT ACCEPT \ && iptables -P FORWARD ACCEPT \ && iptables -P OUTPUT ACCEPT \ && iptables -F && iptables -X \