aboutsummaryrefslogtreecommitdiff
path: root/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'tasks')
-rw-r--r--tasks/client_FreeBSD.yml8
-rw-r--r--tasks/client_OpenBSD.yml2
2 files changed, 9 insertions, 1 deletions
diff --git a/tasks/client_FreeBSD.yml b/tasks/client_FreeBSD.yml
new file mode 100644
index 0000000..6bfc0ce
--- /dev/null
+++ b/tasks/client_FreeBSD.yml
@@ -0,0 +1,8 @@
+---
+- name: activate borg cron
+ lineinfile:
+ line: '0 23 * * * /usr/local/bin/adyxax_backup.sh'
+ path: /var/cron/tabs/root
+ create: yes
+ notify: restart bsd cron
+...
diff --git a/tasks/client_OpenBSD.yml b/tasks/client_OpenBSD.yml
index a566949..53e2ad1 100644
--- a/tasks/client_OpenBSD.yml
+++ b/tasks/client_OpenBSD.yml
@@ -3,5 +3,5 @@
lineinfile:
line: '0 23 * * * /usr/local/bin/adyxax_backup.sh'
path: /var/cron/tabs/root
- notify: restart openbsd cron
+ notify: restart bsd cron
...