Upgrade pip and setuptools during installation. By @stroobl (#95)

This commit is contained in:
Luc Stroobant
2022-03-06 07:01:25 +01:00
committed by GitHub
parent 8429ec5bc1
commit 740e9fe758
2 changed files with 9 additions and 5 deletions

View File

@@ -27,9 +27,12 @@
name: "{{ borg_packages }}"
state: present
- name: Create virtualenv for borg
- name: Create virtualenv for borg # noqa package-latest
pip:
name: pip-tools
name:
- pip
- setuptools
state: latest
virtualenv: /opt/borgmatic
virtualenv_command: "{{ python_bin }} -m venv"

View File

@@ -1,9 +1,10 @@
---
borg_packages:
- gcc
- python-pip
- openssh
- cronie
- gcc
- openssh
- pkgconfig
- python-pip
python_bin: python3
pip_bin: pip3