mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-30 23:38:13 +02:00
Optimized tests für run once
This commit is contained in:
@@ -9,19 +9,17 @@ galaxy_info:
|
||||
description: "Automatically updates all Python Pip packages to their latest available versions."
|
||||
min_ansible_version: "2.9"
|
||||
platforms:
|
||||
- name: Ubuntu
|
||||
versions:
|
||||
- all
|
||||
- name: Archlinux
|
||||
versions:
|
||||
- rolling
|
||||
- name: Debian
|
||||
versions:
|
||||
- all
|
||||
- name: Ubuntu
|
||||
versions:
|
||||
- all
|
||||
- name: Archlinux
|
||||
versions:
|
||||
- rolling
|
||||
- name: Debian
|
||||
versions:
|
||||
- all
|
||||
galaxy_tags:
|
||||
- python
|
||||
- pip
|
||||
- update
|
||||
- maintenance
|
||||
dependencies:
|
||||
- dev-python-pip
|
||||
- python
|
||||
- pip
|
||||
- update
|
||||
- maintenance
|
||||
|
@@ -1,8 +1,9 @@
|
||||
# run_once_update_pip: deactivated
|
||||
# Deactivated due to that it breaks the system
|
||||
# There is no alternative to do the python update
|
||||
#
|
||||
#- name: Update all local pip packages
|
||||
# shell: 'pip freeze --local | grep -v "^\-e" | cut -d = -f 1 | xargs -n1 pip install -U --break-system-packages'
|
||||
# args:
|
||||
# executable: /bin/bash
|
||||
- name: Load former meta dependencies once
|
||||
block:
|
||||
- name: Include moved dependency 'dev-python-pip'
|
||||
include_role:
|
||||
name: dev-python-pip
|
||||
- set_fact:
|
||||
run_once_update_pip: true
|
||||
when: run_once_update_pip is not defined
|
||||
- {}
|
||||
|
Reference in New Issue
Block a user