summaryrefslogtreecommitdiff
path: root/ansible/roles/holywood2/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/roles/holywood2/tasks/main.yml')
-rw-r--r--ansible/roles/holywood2/tasks/main.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/ansible/roles/holywood2/tasks/main.yml b/ansible/roles/holywood2/tasks/main.yml
index a6a7171..730aaf3 100644
--- a/ansible/roles/holywood2/tasks/main.yml
+++ b/ansible/roles/holywood2/tasks/main.yml
@@ -46,3 +46,11 @@
owner: root
group: root
mode: 0600
+
+- name: run borg from cron
+ copy:
+ content: "0 */6 * * * root /root/borg-all"
+ dest: /etc/cron.d/local-backup
+ owner: root
+ group: root
+ mode: 0755