From 46f098dfb2810a764041528bfb3594ac218e9363 Mon Sep 17 00:00:00 2001 From: Salt Date: Tue, 30 Jun 2020 06:48:53 -0500 Subject: [PATCH] Slight semantic difference in tarring --- roles/desktop/templates/backup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/desktop/templates/backup.sh b/roles/desktop/templates/backup.sh index 4b2ddf4..85c0e24 100644 --- a/roles/desktop/templates/backup.sh +++ b/roles/desktop/templates/backup.sh @@ -36,6 +36,6 @@ fi # WE MAKE BACKUP NOW SERGEI for dir in /home/*; do username="$(basename -- "$dir")" - tar czhf "$OUTDIR/desktop-$username-{{ inventory_hostname }}-$(date -Iseconds).tar.gz" "$dir/.backup" + tar czhf "$OUTDIR/desktop-$username-{{ inventory_hostname }}-$(date -Iseconds).tar.gz" "$dir/.backup/*" done