From 15a28130d0c65169925453db4481685a87aaf1b9 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sun, 13 Mar 2022 15:51:40 +0200 Subject: holywood2: disable borg Sponsored-by: author --- ansible/roles/holywood2/tasks/main.yml | 58 +++++++++++++++++----------------- 1 file changed, 29 insertions(+), 29 deletions(-) (limited to 'ansible/roles/holywood2') diff --git a/ansible/roles/holywood2/tasks/main.yml b/ansible/roles/holywood2/tasks/main.yml index 61e44eb..f62f302 100644 --- a/ansible/roles/holywood2/tasks/main.yml +++ b/ansible/roles/holywood2/tasks/main.yml @@ -45,35 +45,35 @@ state: started enabled: yes -- name: install borg - apt: - name: borgbackup -# default_release: stretch-backports +# - name: install borg +# apt: +# name: borgbackup +# # default_release: stretch-backports -- name: install borg scripting - copy: - src: "{{ item }}" - dest: /root - owner: root - group: root - mode: 0755 - with_items: - - run-borg - - borg-all +# - name: install borg scripting +# copy: +# src: "{{ item }}" +# dest: /root +# owner: root +# group: root +# mode: 0755 +# with_items: +# - run-borg +# - borg-all -- name: install borg passphrase - copy: - content: "{{ lookup('pipe', 'pass borg/holywood2-to-willikins') }}" - dest: /etc/borg-passphrase - owner: root - group: root - mode: 0600 +# - name: install borg passphrase +# copy: +# content: "{{ lookup('pipe', 'pass borg/holywood2-to-willikins') }}" +# dest: /etc/borg-passphrase +# owner: root +# group: root +# mode: 0600 -- name: run borg from cron - copy: - content: | - 40 10 * * * root /root/borg-all - dest: /etc/cron.d/local-backup - owner: root - group: root - mode: 0755 +# - name: run borg from cron +# copy: +# content: | +# 40 10 * * * root /root/borg-all +# dest: /etc/cron.d/local-backup +# owner: root +# group: root +# mode: 0755 -- cgit v1.2.1