mirror of
https://github.com/borgbase/ansible-role-borgbackup.git
synced 2024-11-19 19:07:42 +01:00
Support Borg 1.2.0 (#94)
* Move common Python packages to main.yml, install dependent Python packages first.
This commit is contained in:
parent
29d0c5f480
commit
8429ec5bc1
@ -33,7 +33,13 @@
|
||||
virtualenv: /opt/borgmatic
|
||||
virtualenv_command: "{{ python_bin }} -m venv"
|
||||
|
||||
- name: Install required Python Packages
|
||||
- name: Install dependent Python Packages
|
||||
pip:
|
||||
name: "{{ borg_dependent_python_packages }}"
|
||||
virtualenv: /opt/borgmatic
|
||||
when: borg_dependent_python_packages is defined
|
||||
|
||||
- name: Install main Python Packages
|
||||
pip:
|
||||
name: "{{ borg_python_packages }}"
|
||||
virtualenv: /opt/borgmatic
|
||||
|
@ -5,10 +5,5 @@ borg_packages:
|
||||
- openssh
|
||||
- cronie
|
||||
|
||||
borg_python_packages:
|
||||
- cython
|
||||
- borgbackup
|
||||
- borgmatic
|
||||
|
||||
python_bin: python3
|
||||
pip_bin: pip3
|
||||
|
@ -7,6 +7,7 @@ borg_packages:
|
||||
- python3-setuptools
|
||||
- python3-dev
|
||||
- python3-pip
|
||||
- python3-pkgconfig
|
||||
- python3-msgpack
|
||||
- python3-venv
|
||||
- openssh-client
|
||||
@ -14,8 +15,3 @@ borg_packages:
|
||||
|
||||
python_bin: python3
|
||||
pip_bin: pip3
|
||||
|
||||
borg_python_packages:
|
||||
- cython
|
||||
- borgbackup
|
||||
- borgmatic
|
||||
|
@ -15,8 +15,3 @@ borg_packages:
|
||||
|
||||
python_bin: python3
|
||||
pip_bin: pip3
|
||||
|
||||
borg_python_packages:
|
||||
- cython
|
||||
- borgbackup
|
||||
- borgmatic
|
||||
|
@ -15,8 +15,3 @@ borg_packages:
|
||||
|
||||
python_bin: python3
|
||||
pip_bin: pip3
|
||||
|
||||
borg_python_packages:
|
||||
- cython
|
||||
- borgbackup
|
||||
- borgmatic
|
||||
|
@ -15,8 +15,3 @@ borg_packages:
|
||||
|
||||
python_bin: python3
|
||||
pip_bin: pip3
|
||||
|
||||
borg_python_packages:
|
||||
- cython
|
||||
- borgbackup
|
||||
- borgmatic
|
||||
|
@ -14,8 +14,3 @@ borg_packages:
|
||||
|
||||
python_bin: python3
|
||||
pip_bin: pip3
|
||||
|
||||
borg_python_packages:
|
||||
- cython
|
||||
- borgbackup
|
||||
- borgmatic
|
||||
|
7
vars/main.yml
Normal file
7
vars/main.yml
Normal file
@ -0,0 +1,7 @@
|
||||
---
|
||||
borg_dependent_python_packages:
|
||||
- cython
|
||||
- pkgconfig
|
||||
borg_python_packages:
|
||||
- borgbackup
|
||||
- borgmatic
|
Loading…
Reference in New Issue
Block a user