diff --git a/salt/profile/static/files/git_pull_and_update.sh b/salt/profile/static/files/git_pull_and_update.sh index 661491d..2d52ca1 100644 --- a/salt/profile/static/files/git_pull_and_update.sh +++ b/salt/profile/static/files/git_pull_and_update.sh @@ -44,7 +44,7 @@ echo "$EXPECTED_SHA256" | sha256sum -c --quiet --strict || { cd $BASEDIR || exit 1 for dir in *.opensuse.org ; do for server in $SERVERS ; do - rsync -az -C --delete-after "$@" -e ssh "$BASEDIR/$dir/" "web_static@$server:/srv/www/vhosts/$dir/" + rsync -az --exclude '.git' --delete-after "$@" -e ssh "$BASEDIR/$dir/" "web_static@$server:/srv/www/vhosts/$dir/" done done