diff --git a/roles/git_auto_update/templates/update.sh b/roles/git_auto_update/templates/update.sh index 48cede2..7291470 100644 --- a/roles/git_auto_update/templates/update.sh +++ b/roles/git_auto_update/templates/update.sh @@ -14,6 +14,7 @@ cd "$DEST"; if [ ! -d .git ]; then git clone --recurse-submodules "$REPO" "$DEST"; fi +git remote set-url origin "$REPO"; [ -z "$GPG_FINGERPRINT" ] || gpg --quiet --keyserver eu.pool.sks-keyservers.net --recv "$GPG_FINGERPRINT";