chasinglogic.linux_power_saving
linux_节能
如果目标主机有电池,则安装 TLP。如果机器既有电池又有 Intel CPU,则安装 powertop。
示例剧本
无需任何配置,只需启用此角色,如果机器不需要节能功能,它将自动跳过所有操作。
- hosts: laptops
roles:
- chasinglogic.linux_power_saving
许可证
BSD
如果目标主机有电池,则安装 TLP。如果机器既有电池又有 Intel CPU,则安装 powertop。
无需任何配置,只需启用此角色,如果机器不需要节能功能,它将自动跳过所有操作。
- hosts: laptops
roles:
- chasinglogic.linux_power_saving
BSD