From 77b6b71ad59fdbd62ddd92d715dcc2da2380c608 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomislav=20Kopi=C4=87?= Date: Sat, 10 Feb 2024 12:45:22 +0100 Subject: [PATCH] add exclude --- playbooks/install_borgbackup.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbooks/install_borgbackup.yml b/playbooks/install_borgbackup.yml index 9d4c386..5b0891b 100644 --- a/playbooks/install_borgbackup.yml +++ b/playbooks/install_borgbackup.yml @@ -6,7 +6,7 @@ borg_repo_encryption: "none" borg_script_install_path: "/opt/borgbackup.sh" borg_backup_paths: "/" - borg_exclude_paths: "--exclude=*.log --exclude=*.log.gz --exclude=/proc/ --exclude=/dev/ --exclude=/run/ --exclude=/sys/ --exclude=/tmp/" + borg_exclude_paths: "--exclude={{borg_repo_path}} --exclude=*.log --exclude=*.log.gz --exclude=/proc/ --exclude=/dev/ --exclude=/run/ --exclude=/sys/ --exclude=/tmp/" tasks: - name: "Install borg backup"