Finalize the TLP setup and add it to provisioning.

This commit is contained in:
2026-07-16 13:38:34 -07:00
parent 816ff990b3
commit eb70ee7a34
2 changed files with 16 additions and 10 deletions
+2
View File
@@ -171,6 +171,8 @@
- include_tasks: tasks/workstation/shared/settings/services.yml
- include_tasks: tasks/workstation/linux/software/tlp.yml
- include_tasks: tasks/workstation/shared/settings/templates.yml
# Final Tasks (SLOW) #
+14 -10
View File
@@ -9,7 +9,7 @@
set_fact:
tlp: "tlp"
tlp_rdw: "tlp-rdw"
tlp_extra: "smartmontools"
tlp_smart: "smartmontools"
tlp_config: "/etc/tlp.conf"
tlp_service: "tlp"
ppd_package: "power-profiles-daemon"
@@ -19,14 +19,15 @@
## Conflicts ##
- name: Workstation | Linux | Software | TLP | Conflicts | Disable
service:
name: "{{ item }}"
state: stopped
enabled: false
loop:
- "{{ ppd_service }}"
- "{{ acf_service }}"
#- name: Workstation | Linux | Software | TLP | Conflicts | Disable
# service:
# name: "{{ item }}"
# state: stopped
# enabled: false
# loop:
# - "{{ ppd_service }}"
# - "{{ acf_service }}"
# ignore_errors: yes
- name: Workstation | Linux | Software | TLP | Conflicts | Remove
package:
@@ -37,7 +38,10 @@
- name: Workstation | Linux | Software | TLP | Install
package:
name: "{{ tlp }} {{ tlp_rdw }} {{ tlp_smart }}"
name:
- "{{ tlp }}"
- "{{ tlp_rdw }}"
- "{{ tlp_smart }}"
update_cache: yes
## Configuration ##