Refactored pc roles and added README.md's with help of ChatGPT. See https://chat.openai.com/share/df22ba6a-76d0-47c2-a8c7-daec3f42b4e5

This commit is contained in:
2023-12-02 18:49:50 +01:00
parent 0b21168a78
commit 29ea125179
101 changed files with 947 additions and 75 deletions

View File

@@ -0,0 +1,9 @@
---
- name: Install MSI packages
kewlfft.aur.aur:
use: yay
name:
- msi-perkeyrgb
- include_tasks: setup_script.yml
- include_tasks: setup_timers.yml

View File

@@ -0,0 +1,8 @@
---
- name: Copy keyboard_color.sh script
copy:
src: keyboard_color.sh
dest: /opt/keyboard_color.sh
mode: 0755
tags:
- keyboard-color

View File

@@ -0,0 +1,30 @@
---
- name: Copy keyboard-color.timer file
template:
src: keyboard-color.timer.j2
dest: /etc/systemd/system/keyboard-color.timer
mode: 0644
tags:
- keyboard-color
- name: Copy keyboard-color.service file
template:
src: keyboard-color.service.j2
dest: /etc/systemd/system/keyboard-color.service
mode: 0644
tags:
- keyboard-color
- name: Reload systemd daemon
systemd:
daemon_reload: yes
tags:
- keyboard-color
- name: Enable and start keyboard-color.timer
systemd:
name: keyboard-color.timer
state: restarted
enabled: yes
tags:
- keyboard-color