Ensure setuptools is updated, avoid updating too many packages.
This commit is contained in:
parent
ecc4ccce78
commit
3e78fd069d
@ -1,6 +1,8 @@
|
||||
---
|
||||
- name: Regenerate apt-cache and update packages
|
||||
apt: update_cache=yes upgrade=dist cache_valid_time=120
|
||||
apt:
|
||||
update_cache: yes
|
||||
cache_valid_time: 120
|
||||
|
||||
- name: Install required System Packages
|
||||
apt:
|
||||
@ -8,6 +10,12 @@
|
||||
state: installed
|
||||
with_items: "{{ borg_apt_packages }}"
|
||||
|
||||
- name: Update setuptools if needed
|
||||
pip:
|
||||
name: setuptools
|
||||
state: latest
|
||||
executable: pip3
|
||||
|
||||
- name: Install required Python Packages
|
||||
pip:
|
||||
name: "{{ item }}"
|
||||
|
@ -1,3 +1,4 @@
|
||||
# Full config: https://gist.github.com/coaxial/46e36d89d7b81887f7275d587fe04c44
|
||||
location:
|
||||
source_directories:
|
||||
{% for dir in borg_source_directories %}
|
||||
|
Loading…
Reference in New Issue
Block a user