mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 23:08:06 +02:00
Optimized tests für run once
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
---
|
||||
galaxy_info:
|
||||
author: "Kevin Veen-Birchenbach"
|
||||
description: "Automates swapfile creation on target systems by cloning and executing a swapfile script."
|
||||
@@ -9,15 +8,13 @@ galaxy_info:
|
||||
Consulting & Coaching Solutions
|
||||
https://www.veen.world
|
||||
galaxy_tags:
|
||||
- swapfile
|
||||
- performance
|
||||
- swapfile
|
||||
- performance
|
||||
repository: "https://github.com/kevinveenbirkenbach/infinito-nexus"
|
||||
issue_tracker_url: "https://github.com/kevinveenbirkenbach/infinito-nexus/issues"
|
||||
documentation: "https://github.com/kevinveenbirkenbach/infinito-nexus/tree/main/roles/sys-opt-swapfile"
|
||||
min_ansible_version: "2.9"
|
||||
platforms:
|
||||
- name: Any
|
||||
versions:
|
||||
- all
|
||||
dependencies:
|
||||
- pkgmgr-install
|
||||
- name: Any
|
||||
versions:
|
||||
- all
|
||||
|
@@ -1,3 +1,11 @@
|
||||
- name: Load former meta dependencies once
|
||||
block:
|
||||
- name: Include moved dependency 'pkgmgr-install'
|
||||
include_role:
|
||||
name: pkgmgr-install
|
||||
- set_fact:
|
||||
run_once_svc_opt_swapfile: true
|
||||
when: run_once_svc_opt_swapfile is not defined
|
||||
- name: "pkgmgr install"
|
||||
include_role:
|
||||
name: pkgmgr-install
|
||||
@@ -6,4 +14,4 @@
|
||||
|
||||
- name: Execute create swapfile script
|
||||
shell: swap-forge "{{swapfile_size}}"
|
||||
become: true
|
||||
become: true
|
||||
|
Reference in New Issue
Block a user