mirror of
https://github.com/pigmonkey/spark.git
synced 2026-01-23 02:24:09 +00:00
The only thing I use either of these for is setting the charge limit. Both seem to work identically. I've been using framework-system for a month or so and haven't noticed any difference.
27 lines
513 B
YAML
27 lines
513 B
YAML
---
|
|
- name: Install framework-system
|
|
kewlfft.aur.aur:
|
|
name: framework-system
|
|
become: yes
|
|
become_user: "{{ aur.user }}"
|
|
tags:
|
|
- aur
|
|
- framework
|
|
|
|
- name: Copy charge control service
|
|
copy:
|
|
src: chargecontrol.service
|
|
dest: /etc/systemd/system/
|
|
notify:
|
|
- reload systemd config
|
|
- restart charge control
|
|
tags:
|
|
- framework
|
|
|
|
- name: Enable and start charge control service
|
|
service:
|
|
name: chargecontrol.service
|
|
enabled: yes
|
|
state: started
|
|
tags:
|
|
- framework
|