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/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) #
|
||||||
|
|||||||
@@ -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 ##
|
||||||
|
|||||||
Reference in New Issue
Block a user