mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Refactored git clone to Kevin's Package Manager (Draft not fully tested)
This commit is contained in:
@@ -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
|
||||
|
@@ -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'
|
Reference in New Issue
Block a user