mirror of
				https://github.com/borgbase/ansible-role-borgbackup.git
				synced 2025-11-04 01:19:32 +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 }}"
 | 
			
		||||
    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"
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -1,9 +1,10 @@
 | 
			
		||||
---
 | 
			
		||||
borg_packages:
 | 
			
		||||
  - gcc
 | 
			
		||||
  - python-pip
 | 
			
		||||
  - openssh
 | 
			
		||||
  - cronie
 | 
			
		||||
  - gcc
 | 
			
		||||
  - openssh
 | 
			
		||||
  - pkgconfig
 | 
			
		||||
  - python-pip
 | 
			
		||||
 | 
			
		||||
python_bin: python3
 | 
			
		||||
pip_bin: pip3
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user