This is a simple ansible role for adjusting cpufrequtils preferences on Debian/Ubuntu.
Possible parameters:
- cpufreq_enable: True|False
- cpufreq_governor: ""
- cpufreq_max_speed:
- cpufreq_min_speed:
Example usage:
- hosts: all
sudo: yes
roles:
- role: cpufreq
cpufreq_enable: yes
cpufreq_governor: performance