From 529749ed1414c494e9f53a2e6a3a752ba67c94de Mon Sep 17 00:00:00 2001 From: Marius Meyer Date: Thu, 11 Apr 2024 13:41:46 +0200 Subject: [PATCH] quote pattern --- tasks/main.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/main.yaml b/tasks/main.yaml index adc1c7c..67d592d 100644 --- a/tasks/main.yaml +++ b/tasks/main.yaml @@ -45,7 +45,7 @@ minute: "0" hour: "8" user: root - job: find /var/backups -path /var/backups/gitea-* -mtime +7 -type f -exec rm {} + + job: find /var/backups -path '/var/backups/gitea-*' -mtime +7 -type f -exec rm {} + cron_file: gitea-backup-cleanup - name: Check if environment.env will get changed