mirror of
https://github.com/borgbase/ansible-role-borgbackup.git
synced 2024-11-24 19:06:35 +01:00
Upgrade pip and setuptools during installation. By @stroobl (#95)
This commit is contained in:
parent
8429ec5bc1
commit
740e9fe758
@ -27,9 +27,12 @@
|
|||||||
name: "{{ borg_packages }}"
|
name: "{{ borg_packages }}"
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
- name: Create virtualenv for borg
|
- name: Create virtualenv for borg # noqa package-latest
|
||||||
pip:
|
pip:
|
||||||
name: pip-tools
|
name:
|
||||||
|
- pip
|
||||||
|
- setuptools
|
||||||
|
state: latest
|
||||||
virtualenv: /opt/borgmatic
|
virtualenv: /opt/borgmatic
|
||||||
virtualenv_command: "{{ python_bin }} -m venv"
|
virtualenv_command: "{{ python_bin }} -m venv"
|
||||||
|
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
---
|
---
|
||||||
borg_packages:
|
borg_packages:
|
||||||
- gcc
|
|
||||||
- python-pip
|
|
||||||
- openssh
|
|
||||||
- cronie
|
- cronie
|
||||||
|
- gcc
|
||||||
|
- openssh
|
||||||
|
- pkgconfig
|
||||||
|
- python-pip
|
||||||
|
|
||||||
python_bin: python3
|
python_bin: python3
|
||||||
pip_bin: pip3
|
pip_bin: pip3
|
||||||
|
Loading…
Reference in New Issue
Block a user