From 7c4694a58054f720e8e94a2d59141ee9b6f1e40f Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Mon, 9 Jul 2018 10:29:34 +0300 Subject: Add: run borg from cron --- ansible/roles/holywood2/tasks/main.yml | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'ansible/roles/holywood2') 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 -- cgit v1.2.1