diff options
author | 2019-09-10 11:27:11 +0000 | |
---|---|---|
committer | 2019-09-11 13:07:15 +0000 | |
commit | b82474874d4329d3e82ea8a22754b7b04cf969ee (patch) | |
tree | 684a3a5ccf06639139221f15423aed4f633a5579 /resources/tools/testbed-setup/ansible/roles/tg_sut/tasks/turbo_boost.yaml | |
parent | 2fe2a2c140bffa10678e3e217c8a5cba0fd4dbd0 (diff) |
Ansible: Cascadelake include
Signed-off-by: Peter Mikus <pmikus@cisco.com>
Change-Id: Iecb18e9d94ff715e40152564fb778650d43a48d3
Diffstat (limited to 'resources/tools/testbed-setup/ansible/roles/tg_sut/tasks/turbo_boost.yaml')
-rw-r--r-- | resources/tools/testbed-setup/ansible/roles/tg_sut/tasks/turbo_boost.yaml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/resources/tools/testbed-setup/ansible/roles/tg_sut/tasks/turbo_boost.yaml b/resources/tools/testbed-setup/ansible/roles/tg_sut/tasks/turbo_boost.yaml new file mode 100644 index 0000000000..1002792aa8 --- /dev/null +++ b/resources/tools/testbed-setup/ansible/roles/tg_sut/tasks/turbo_boost.yaml @@ -0,0 +1,25 @@ +--- +# file: roles/tg_sut/tasks/turbo_boost.yaml + +- name: Install msr-tools + apt: + name: + - 'msr-tools' + state: 'present' + install_recommends: False + tags: install-msr + +- name: Disable 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 Turbo-Boost by service on startup + service: + name: disable-turbo-boost + enabled: yes + tags: disable-turbo-boost |