Commit 822394ab authored by Thomas Gambier's avatar Thomas Gambier 🚴🏼

playbook: set the CPU scaling governor at startup

parent af30b40f
Pipeline #39389 failed with stage
in 0 seconds
......@@ -16,7 +16,7 @@
with_items: '{{ scaling_governor_stat.results }}'
when: item.stat.exists
- name: Set CPU Scaling Governor
- name: Set CPU Scaling Governor to {{ value }}
shell: 'echo {{ value }} > {{ item.item.item }}/cpufreq/scaling_governor'
with_items: '{{ cpu_offline.results }}'
when: ('rc' in item) and (item.rc != 0)
......@@ -6,4 +6,5 @@
- settings/vifib.yml
roles:
- vifib-server
- { role: vifib-server}
- { role: cpu-scaling-governor, value: performance }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment