eb07ab3613
Add the FUSE dependencies for our hosts backed up with borg, along with a small script to make mounting the backups easier. This is the best way to recover something quickly in what is sure to be a stressful situation. Documentation and testing is updated. Change-Id: I1f409b2df952281deedff2ff8f09e3132a2aff08
29 lines
858 B
YAML
29 lines
858 B
YAML
# We install into a virtualenv here for two reasons; we want a
|
|
# specific version pinned between server and client -- borg has had
|
|
# updates that required transitions so we don't want to use system
|
|
# packages where thing might get out of sync. Secondly we want to
|
|
# keep as few things as possible to go wrong when running backups.
|
|
- name: Install build deps
|
|
package:
|
|
name:
|
|
- python3-dev
|
|
- python3-venv
|
|
- libssl-dev
|
|
- openssl
|
|
- libacl1-dev
|
|
- libacl1
|
|
- build-essential
|
|
- libfuse-dev
|
|
- fuse
|
|
- pkg-config
|
|
|
|
- name: Install borg
|
|
pip:
|
|
# borg build deps are a little ... interesting, it needs cython
|
|
# but the requirements don't bring it in.
|
|
name:
|
|
- cython
|
|
- 'borgbackup[fuse]=={{ borg_version }}'
|
|
virtualenv: /opt/borg
|
|
virtualenv_command: /usr/bin/python3 -m venv
|