mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-09-07 18:57:12 +02:00
Optimized tests für run once
This commit is contained in:
@@ -4,9 +4,6 @@ galaxy_info:
|
||||
description: "Ansible role to set up dynamic keyboard color change on MSI laptops"
|
||||
min_ansible_version: 2.9
|
||||
platforms:
|
||||
- name: Linux
|
||||
versions:
|
||||
- all
|
||||
dependencies:
|
||||
- dev-yay
|
||||
- sys-alm-compose
|
||||
- name: Linux
|
||||
versions:
|
||||
- all
|
||||
|
@@ -1,9 +1,19 @@
|
||||
---
|
||||
- name: Load former meta dependencies once
|
||||
block:
|
||||
- name: Include moved dependencies
|
||||
include_role:
|
||||
name: '{{ item }}'
|
||||
loop:
|
||||
- dev-yay
|
||||
- sys-alm-compose
|
||||
- set_fact:
|
||||
run_once_drv_msi_keyboard_color: true
|
||||
when: run_once_drv_msi_keyboard_color is not defined
|
||||
- name: Install MSI packages
|
||||
kewlfft.aur.aur:
|
||||
use: yay
|
||||
name:
|
||||
- msi-perkeyrgb
|
||||
- msi-perkeyrgb
|
||||
|
||||
- name: Copy keyboard_color.sh script
|
||||
copy:
|
||||
@@ -29,5 +39,5 @@
|
||||
include_role:
|
||||
name: sys-timer
|
||||
vars:
|
||||
on_calendar: "{{on_calendar_msi_keyboard_color}}"
|
||||
persistent: "true"
|
||||
on_calendar: "{{on_calendar_msi_keyboard_color}}"
|
||||
persistent: "true"
|
||||
|
Reference in New Issue
Block a user