borgbase / ansible-role-borgbackup

Ansible role to set up Borg and Borgmatic
MIT License
221 stars 98 forks source link

Don't fail if cron isn't installed when setting up systemd timer #147

Closed Woomymy closed 6 months ago

Woomymy commented 6 months ago

The task checks if there's already a cron timer installed for borg, but if cron isn't installed the tasks fails. This small PR makes sure role execution continues even if cron isn't installed

m3nu commented 6 months ago

Merged. Thanks for the addition. (test failures seem to be due to some Arch thing)