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/shared/settings/services.yml
- include_tasks: tasks/workstation/linux/software/tlp.yml
- include_tasks: tasks/workstation/shared/settings/templates.yml - include_tasks: tasks/workstation/shared/settings/templates.yml
# Final Tasks (SLOW) # # Final Tasks (SLOW) #
+14 -10
View File
@@ -9,7 +9,7 @@
set_fact: set_fact:
tlp: "tlp" tlp: "tlp"
tlp_rdw: "tlp-rdw" tlp_rdw: "tlp-rdw"
tlp_extra: "smartmontools" tlp_smart: "smartmontools"
tlp_config: "/etc/tlp.conf" tlp_config: "/etc/tlp.conf"
tlp_service: "tlp" tlp_service: "tlp"
ppd_package: "power-profiles-daemon" ppd_package: "power-profiles-daemon"
@@ -19,14 +19,15 @@
## Conflicts ## ## Conflicts ##
- name: Workstation | Linux | Software | TLP | Conflicts | Disable #- name: Workstation | Linux | Software | TLP | Conflicts | Disable
service: # service:
name: "{{ item }}" # name: "{{ item }}"
state: stopped # state: stopped
enabled: false # enabled: false
loop: # loop:
- "{{ ppd_service }}" # - "{{ ppd_service }}"
- "{{ acf_service }}" # - "{{ acf_service }}"
# ignore_errors: yes
- name: Workstation | Linux | Software | TLP | Conflicts | Remove - name: Workstation | Linux | Software | TLP | Conflicts | Remove
package: package:
@@ -37,7 +38,10 @@
- name: Workstation | Linux | Software | TLP | Install - name: Workstation | Linux | Software | TLP | Install
package: package:
name: "{{ tlp }} {{ tlp_rdw }} {{ tlp_smart }}" name:
- "{{ tlp }}"
- "{{ tlp_rdw }}"
- "{{ tlp_smart }}"
update_cache: yes update_cache: yes
## Configuration ## ## Configuration ##