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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 5 deletions

View File

@ -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"

View File

@ -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