mirror of
https://github.com/borgbase/ansible-role-borgbackup.git
synced 2024-11-19 19:07:42 +01:00
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
|
- 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
|
- name: Install required System Packages
|
||||||
apt:
|
apt:
|
||||||
@ -8,6 +10,12 @@
|
|||||||
state: installed
|
state: installed
|
||||||
with_items: "{{ borg_apt_packages }}"
|
with_items: "{{ borg_apt_packages }}"
|
||||||
|
|
||||||
|
- name: Update setuptools if needed
|
||||||
|
pip:
|
||||||
|
name: setuptools
|
||||||
|
state: latest
|
||||||
|
executable: pip3
|
||||||
|
|
||||||
- name: Install required Python Packages
|
- name: Install required Python Packages
|
||||||
pip:
|
pip:
|
||||||
name: "{{ item }}"
|
name: "{{ item }}"
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# Full config: https://gist.github.com/coaxial/46e36d89d7b81887f7275d587fe04c44
|
||||||
location:
|
location:
|
||||||
source_directories:
|
source_directories:
|
||||||
{% for dir in borg_source_directories %}
|
{% for dir in borg_source_directories %}
|
||||||
|
Loading…
Reference in New Issue
Block a user