X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Ftools%2Ftestbed-setup%2Fansible%2Froles%2Fperformance_tuning%2Ftasks%2Fturbo_boost.yaml;fp=resources%2Ftools%2Ftestbed-setup%2Fansible%2Froles%2Fperformance_tuning%2Ftasks%2Fturbo_boost.yaml;h=23cca0566e576d67723334f00e8410fa0fd362a2;hp=310803ca5bfaf5482de301fab1096de5bc1589a4;hb=917c3d8dc1331db5a9676df16d4187312b0003d8;hpb=b5073afc4a941ea33ce874e016fe86384ae7a60d diff --git a/resources/tools/testbed-setup/ansible/roles/performance_tuning/tasks/turbo_boost.yaml b/resources/tools/testbed-setup/ansible/roles/performance_tuning/tasks/turbo_boost.yaml index 310803ca5b..23cca0566e 100644 --- a/resources/tools/testbed-setup/ansible/roles/performance_tuning/tasks/turbo_boost.yaml +++ b/resources/tools/testbed-setup/ansible/roles/performance_tuning/tasks/turbo_boost.yaml @@ -1,12 +1,18 @@ --- # file: roles/performance_tuning/tasks/turbo_boost.yaml +- Name: Update package cache (apt) + apt: + update_cache: yes + cache_valid_time: 3600 + when: + - ansible_distribution|lower == 'ubuntu' + - name: Turbo Boost - Install msr-tools package: name: - "msr-tools" state: latest - update_cache: true tags: - turbo-boost