From 40d7a5029d1c941d24a96bb249383050a5148d5c Mon Sep 17 00:00:00 2001
From: Jelle van der Waa <jelle@archlinux.org>
Date: Sat, 12 Dec 2020 15:58:48 +0100
Subject: [PATCH] Add ipv6 addresses to archive mirrors for sync whitelisting

---
 roles/dbscripts/templates/rsyncd.conf.proto.j2 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/roles/dbscripts/templates/rsyncd.conf.proto.j2 b/roles/dbscripts/templates/rsyncd.conf.proto.j2
index 676bddc3a..5996a22d7 100644
--- a/roles/dbscripts/templates/rsyncd.conf.proto.j2
+++ b/roles/dbscripts/templates/rsyncd.conf.proto.j2
@@ -24,7 +24,7 @@ hosts deny = *
 [archive]
 	path = /srv/archive
 	comment = archive
-	hosts allow = {{ groups['archive_mirrors'] | map('extract', hostvars, ['ipv4_address']) | join(' ') }}
+	hosts allow = {{ groups['archive_mirrors'] | map('extract', hostvars, ['ipv4_address']) | join(' ') }} {{ groups['archive_mirrors'] | map('extract', hostvars, ['ipv6_address']) | join(' ') }}
 {% endif %}
 
 # Just the release/stable iso/packages (for most mirrors)
-- 
GitLab