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:
@@ -1,4 +1,3 @@
|
||||
---
|
||||
galaxy_info:
|
||||
author: "Kevin Veen-Birkenbach"
|
||||
description: "Automates the installation of Kevin's Package Manager — a tool for managing multiple repositories and automating Git operations."
|
||||
@@ -10,29 +9,25 @@ galaxy_info:
|
||||
https://www.veen.world
|
||||
min_ansible_version: "2.9"
|
||||
platforms:
|
||||
- name: Debian
|
||||
versions:
|
||||
- stretch
|
||||
- buster
|
||||
- bullseye
|
||||
- name: Ubuntu
|
||||
versions:
|
||||
- bionic
|
||||
- focal
|
||||
- jammy
|
||||
- name: Archlinux
|
||||
versions:
|
||||
- rolling
|
||||
- name: Debian
|
||||
versions:
|
||||
- stretch
|
||||
- buster
|
||||
- bullseye
|
||||
- name: Ubuntu
|
||||
versions:
|
||||
- bionic
|
||||
- focal
|
||||
- jammy
|
||||
- name: Archlinux
|
||||
versions:
|
||||
- rolling
|
||||
galaxy_tags:
|
||||
- pkgmgr
|
||||
- automation
|
||||
- git
|
||||
- repositories
|
||||
- development
|
||||
- pkgmgr
|
||||
- automation
|
||||
- git
|
||||
- repositories
|
||||
- development
|
||||
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:
|
||||
- dev-git
|
||||
- dev-make
|
||||
- dev-python-yaml
|
||||
|
@@ -1,3 +1,15 @@
|
||||
- name: Load former meta dependencies once
|
||||
block:
|
||||
- name: Include moved dependencies
|
||||
include_role:
|
||||
name: '{{ item }}'
|
||||
loop:
|
||||
- dev-git
|
||||
- dev-make
|
||||
- dev-python-yaml
|
||||
- set_fact:
|
||||
run_once_pkgmgr: true
|
||||
when: run_once_pkgmgr is not defined
|
||||
- name: Ensure GitHub host key is in known_hosts
|
||||
known_hosts:
|
||||
path: "~/.ssh/known_hosts"
|
||||
@@ -27,10 +39,10 @@
|
||||
become: true
|
||||
|
||||
- name: create config.yaml
|
||||
template:
|
||||
template:
|
||||
src: config.yaml.j2
|
||||
dest: "{{pkgmgr_config_path}}"
|
||||
become: true
|
||||
become: true
|
||||
|
||||
- name: Run the Package Manager install command to create an alias for Kevins package manager
|
||||
shell: |
|
||||
@@ -39,4 +51,4 @@
|
||||
args:
|
||||
chdir: "{{ pkgmgr_install_path }}"
|
||||
executable: /bin/bash
|
||||
become: true
|
||||
become: true
|
||||
|
Reference in New Issue
Block a user