diff --git a/playbooks/roles/borg-backup/tasks/main.yaml b/playbooks/roles/borg-backup/tasks/main.yaml index ac452fb900..15bbe1dd75 100644 --- a/playbooks/roles/borg-backup/tasks/main.yaml +++ b/playbooks/roles/borg-backup/tasks/main.yaml @@ -33,7 +33,7 @@ IdentityFile /root/.ssh/id_borg_backup_ed25519 User {{ borg_username }} mode: 0600 - marker: '# {mark} ANSIBLE MANAGED BLOCK borg-backup' + marker: '# {mark} ANSIBLE MANAGED BLOCK borg-backup {{ item }}' with_inventory_hostnames: borg-backup-server - name: Generate borg_user info tuple @@ -49,7 +49,7 @@ - name: Install backup cron job cron: - name: "Run borg backup" + name: "Run borg backup to {{ item }}" job: "/usr/local/bin/borg-backup {{ item }} 2>> /var/log/borg-backup-{{ item }}.log" user: root hour: '5'