From b48e01186d4d732256707d9ee0e06018b39aaa81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Bompard?= Date: Wed, 29 May 2024 16:51:07 +0200 Subject: [PATCH] Gah. Comments in shell scripts. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Aurélien Bompard --- .../mirrormanager/templates/update-mirrorlist-cache.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/roles/openshift-apps/mirrormanager/templates/update-mirrorlist-cache.sh b/roles/openshift-apps/mirrormanager/templates/update-mirrorlist-cache.sh index 9005e1d340..3b8ffe17e8 100644 --- a/roles/openshift-apps/mirrormanager/templates/update-mirrorlist-cache.sh +++ b/roles/openshift-apps/mirrormanager/templates/update-mirrorlist-cache.sh @@ -21,11 +21,12 @@ ${MM_ROOT}/bin/generate-mirrorlist-cache -o ${CACHEDIR}/mirrorlist_cache.proto # Update the files on the proxies {% if env == 'production' %} for server in ${MIRRORLIST_PROXY}; do + # *.txt files are netblocks rsync -az --delete-delay --delay-updates --delete \ -e "ssh -i ${MM_SSH_KEY}" \ ${MM_ROOT}/src/utility/country_continent.csv \ ${CACHEDIR}/mirrorlist_cache.proto \ - ${CACHEDIR}/*.txt \ # Netblocks + ${CACHEDIR}/*.txt \ ${MM_USER}@${server}:/srv/mirrorlist/data/mirrorlist1/ & done {% endif %}