aboutsummaryrefslogtreecommitdiffstats
path: root/roles/_workstation/tlp/templates
diff options
context:
space:
mode:
authorRomain Gonçalves <me@rgoncalves.se>2024-10-20 19:58:34 +0200
committerRomain Gonçalves <me@rgoncalves.se>2024-10-20 19:58:34 +0200
commitf098b6248cd2b425d57e21899a97d77d64cb45bd (patch)
tree2b3a0dd04f8094ab0294c9ca578519f2cc345f8a /roles/_workstation/tlp/templates
parenta4ece963d1883310f7cf7b18932034a82db16d4a (diff)
downloadrules-f098b6248cd2b425d57e21899a97d77d64cb45bd.tar.gz
feat(roles/_workstation): add TLP configuration generation
Diffstat (limited to 'roles/_workstation/tlp/templates')
-rw-r--r--roles/_workstation/tlp/templates/10-ansible.conf.j24
1 files changed, 4 insertions, 0 deletions
diff --git a/roles/_workstation/tlp/templates/10-ansible.conf.j2 b/roles/_workstation/tlp/templates/10-ansible.conf.j2
new file mode 100644
index 0000000..377bef0
--- /dev/null
+++ b/roles/_workstation/tlp/templates/10-ansible.conf.j2
@@ -0,0 +1,4 @@
+# managed by Ansible
+
+START_CHARGE_THRESH_BAT0={{ tlp__start_charge_threshold }}
+STOP_CHARGE_THRESH_BAT0={{ tlp__stop_charge_threshold }}
remember that computers suck.