Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Mar 7, 2024

Conversation

Woomymy
Copy link
Contributor

@Woomymy Woomymy commented Mar 6, 2024

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

* `cron` isn't always installed and is not required when using a systemd
  timer, so make sure setup doesn't fail when we check if there's
  already an installed cron timer

Signed-off-by: Woomymy <[email protected]>
@m3nu
Copy link
Collaborator

m3nu commented Mar 7, 2024

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

@m3nu m3nu merged commit 702299f into borgbase:master Mar 7, 2024
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants