mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Optimized tests für run once
This commit is contained in:
@@ -3,22 +3,20 @@ galaxy_info:
|
||||
description: "Installs and updates packages using pkgmgr."
|
||||
license: "Infinito.Nexus NonCommercial License (CNCL)"
|
||||
license_url: "https://s.veen.world/cncl"
|
||||
company: |
|
||||
company: |
|
||||
Kevin Veen-Birkenbach
|
||||
Consulting & Coaching Solutions
|
||||
https://www.veen.world
|
||||
min_ansible_version: "2.9"
|
||||
platforms:
|
||||
- name: Archlinux
|
||||
versions:
|
||||
- rolling
|
||||
- name: Archlinux
|
||||
versions:
|
||||
- rolling
|
||||
galaxy_tags:
|
||||
- package
|
||||
- update
|
||||
- archlinux
|
||||
- infinito
|
||||
- package
|
||||
- update
|
||||
- archlinux
|
||||
- infinito
|
||||
repository: https://github.com/kevinveenbirkenbach/package-manager
|
||||
issue_tracker_url: https://github.com/kevinveenbirkenbach/package-manager/issues
|
||||
documentation: https://github.com/kevinveenbirkenbach/package-manager
|
||||
dependencies:
|
||||
- pkgmgr
|
@@ -1,3 +1,11 @@
|
||||
- name: Load former meta dependencies once
|
||||
block:
|
||||
- name: Include moved dependency 'pkgmgr'
|
||||
include_role:
|
||||
name: pkgmgr
|
||||
- set_fact:
|
||||
run_once_pkgmgr_install: true
|
||||
when: run_once_pkgmgr_install is not defined
|
||||
- name: update pkgmgr
|
||||
shell: |
|
||||
source ~/.venvs/pkgmgr/bin/activate
|
||||
@@ -16,4 +24,4 @@
|
||||
- name: mark pkgmgr update as done
|
||||
set_fact:
|
||||
run_once_pkgmgr_install: true
|
||||
when: run_once_pkgmgr_install is not defined
|
||||
when: run_once_pkgmgr_install is not defined
|
||||
|
Reference in New Issue
Block a user