summaryrefslogtreecommitdiffstats
path: root/roles/backup
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2026-07-21 13:23:15 +0200
committerAhmed Abdelhalim <[email protected]>2026-07-21 13:23:15 +0200
commit5a677725003444d5fc02e4f754392bafaecbde2f (patch)
treee373647c7b70dedf4130ef7c1e5b1de04e02b601 /roles/backup
parent0be7583911bfe15276b736697caebb3752da56b6 (diff)
Add missing crond dependency for alpine
Diffstat (limited to 'roles/backup')
-rw-r--r--roles/backup/meta/main.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/roles/backup/meta/main.yml b/roles/backup/meta/main.yml
index 26db6058..30ba5818 100644
--- a/roles/backup/meta/main.yml
+++ b/roles/backup/meta/main.yml
@@ -2,6 +2,10 @@
dependencies:
- role: "bash"
- role: "restic"
+ - role: "systemd"
+ when: ansible_facts['service_mgr'] == "systemd"
+ - role: "busybox-openrc"
+ when: ansible_facts['service_mgr'] == "openrc"
galaxy_info:
author: "a14m"
description: "Backup a directory to S3 using restic"