From b97e6f39ef887b120cfaf4ec8851e41139079d07 Mon Sep 17 00:00:00 2001 From: Brad Downey Date: Mon, 12 Feb 2018 15:37:52 -0800 Subject: [PATCH] Added taks to enable ipchains FORWARD policy to ACCEPT --- roles/docker/tasks/main.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/roles/docker/tasks/main.yml b/roles/docker/tasks/main.yml index 7a763ee..577fd79 100644 --- a/roles/docker/tasks/main.yml +++ b/roles/docker/tasks/main.yml @@ -12,4 +12,10 @@ service: name: docker state: restarted - enabled: yes \ No newline at end of file + enabled: yes + +# This is needed based on Docker 1.13 update. Kubernetes and/or CNI could also fix this. +- name: Reenable ipchains FORWARD + iptables: + chain: FORWARD + policy: ACCEPT \ No newline at end of file