Refactored git clone to Kevin's Package Manager (Draft not fully tested)

This commit is contained in:
2025-04-01 14:40:04 +02:00
parent 659c24eb14
commit 526f1c952d
21 changed files with 229 additions and 48 deletions

View File

@@ -1,9 +1,6 @@
- name: pull auto-btrfs-balancer.git
git:
repo: "https://github.com/kevinveenbirkenbach/auto-btrfs-balancer.git"
dest: "{{system_btrfs_auto_balancer_folder}}"
update: yes
ignore_errors: true
- name: install auto-btrfs-balancer
command:
cmd: "pkgmgr install auto-btrfs-balancer"
when: run_once_system_btrfs_auto_balancer is not defined
- name: configure system-btrfs-auto-balancer.cymais.service

View File

@@ -4,4 +4,4 @@ OnFailure=systemd-notifier.cymais@%n.service
[Service]
Type=oneshot
ExecStart=/bin/sh -c '/usr/bin/python {{system_btrfs_auto_balancer_folder}}main.py 90 10'
ExecStart=/bin/sh -c 'auto-btrfs-balancer 90 10'