aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/testbed-setup/ansible/roles/tg_sut/tasks/skylake.yaml
blob: 33e061e7245ebc1260e12ac335183873bb73f2a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
---
# file: roles/tg_sut/tasks/skylake.yaml

- name: Install msr-tools
  apt:
    name:
      - 'msr-tools'
    state: 'present'
    install_recommends: False
  tags: install-msr

- name: Disable Skylake Turbo-Boost by service
  copy:
    src: 'files/disable-turbo-boost.service'
    dest: '/etc/systemd/system/disable-turbo-boost.service'
    owner: 'root'
    group: 'root'
    mode: '0644'
  tags: disable-turbo-boost

- name: Disable Skylake Turbo-Boost by service on startup
  service:
    name: disable-turbo-boost
    enabled: yes
  tags: disable-turbo-boost