From a0a06e8566d3e7171d675683301e0a968b1ba81b Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Fri, 17 Apr 2020 13:54:26 +0000 Subject: [PATCH] Revert "docker: Enable IPv6 (with NAT)" This reverts commit 3b25d7e0a90a6b0bcce42d63be0994bec9a32e71. --- roles/docker/files/daemon.json | 2 -- roles/docker/tasks/config.yml | 3 --- roles/docker/tasks/packages.yml | 5 ----- 3 files changed, 10 deletions(-) diff --git a/roles/docker/files/daemon.json b/roles/docker/files/daemon.json index 96fa947..60057bd 100644 --- a/roles/docker/files/daemon.json +++ b/roles/docker/files/daemon.json @@ -1,7 +1,5 @@ { "log-driver": "journald", - "ipv6": true, - "fixed-cidr-v6": "fd00:d0ce:d0ce:d0ce::/64", "dns": [ "46.182.19.48", "74.82.42.42" diff --git a/roles/docker/tasks/config.yml b/roles/docker/tasks/config.yml index a402aca..bc8fddc 100644 --- a/roles/docker/tasks/config.yml +++ b/roles/docker/tasks/config.yml @@ -1,7 +1,4 @@ --- -- name: Add IPv6 NAT iptables rules - shell: ip6tables -t nat -A POSTROUTING -s fd00:d0ce:d0ce:d0ce::/64 -j MASQUERADE && ip6tables-save > /etc/iptables/rules.v6 - - name: add docker configuration copy: dest: /etc/docker/daemon.json diff --git a/roles/docker/tasks/packages.yml b/roles/docker/tasks/packages.yml index 5bf324a..427190e 100644 --- a/roles/docker/tasks/packages.yml +++ b/roles/docker/tasks/packages.yml @@ -19,8 +19,3 @@ name: docker-ce update_cache: yes state: present - -- name: install iptables-persistent - apt: - name: iptables-persistent - state: present