Compare commits

..

No commits in common. "5a801da7b2b0850eff06dd8fe1b03bcabb9ba768" and "2fad0b1f8d2b8db90668a289bd140eb9379f9eb6" have entirely different histories.

5 changed files with 4 additions and 27 deletions

View File

@ -79,12 +79,6 @@ all:
opts: "subvolid=5,noatime,compress=zstd"
passno: "0"
- src: "/dev/mapper/disk0"
path: "/mnt/btr_backup"
fstype: "btrfs"
opts: "subvol=btr_backup,noatime,compress=zstd"
passno: "0"
- src: "/dev/mapper/disk0"
path: "/var/log"
fstype: "btrfs"

View File

@ -2,7 +2,6 @@
- name: install packages
apk:
name:
- btrbk
- coreutils # needed by btrbk
- btrfs-progs
- mbuffer
- openssh
- perl

View File

@ -2,8 +2,5 @@
- name: install packages
apt:
name:
- btrbk
- btrfs-progs
- mbuffer
- openssh-client
- openssh-server
- perl

View File

@ -7,17 +7,6 @@
include_tasks: debian.yml
when: ansible_distribution in ["Debian", "Ubuntu"]
- name: create btrbk directory config
file:
state: directory
path: /etc/btrbk
- name: download btrbk executable
get_url:
url: '{{ btrbk_url }}'
dest: /usr/local/bin/btrbk
mode: '0755'
- name: copy btrbk config
copy:
src: "host_files/btrbk/{{ ansible_hostname }}/btrbk.conf"
@ -50,10 +39,9 @@
owner: btrbk
mode: '0644'
- name: add btrbk files to lbu
- name: add btrbk ssh keys to lbu
lbu:
include:
- /usr/local/bin/btrbk
- /var/lib/btrbk/.ssh/id_ed25519
- /var/lib/btrbk/.ssh/id_ed25519.pub
- /var/lib/btrbk/.ssh/authorized_keys

View File

@ -1 +0,0 @@
btrbk_url: https://raw.githubusercontent.com/digint/btrbk/master/btrbk