diff options
author | Lars Wirzenius <liw@liw.fi> | 2018-07-09 10:29:34 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2018-07-09 10:29:34 +0300 |
commit | 7c4694a58054f720e8e94a2d59141ee9b6f1e40f (patch) | |
tree | 9d364cc4147ec348b2057e36a54a61d4340ebe21 /ansible/roles | |
parent | 61b05222618e5fc5eefc34a08b3d6bdadea786bd (diff) | |
download | ansibleness-7c4694a58054f720e8e94a2d59141ee9b6f1e40f.tar.gz |
Add: run borg from cron
Diffstat (limited to 'ansible/roles')
-rw-r--r-- | ansible/roles/holywood2/tasks/main.yml | 8 |
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 |