Finalize the TLP setup and add it to provisioning.
This commit is contained in:
@@ -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) #
|
||||
|
||||
@@ -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 ##
|
||||
|
||||
Reference in New Issue
Block a user