Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Ansible: Fix package cache updates
[csit.git]
/
resources
/
tools
/
testbed-setup
/
ansible
/
roles
/
performance_tuning
/
tasks
/
turbo_boost.yaml
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
310803c
..
23cca05
100644
(file)
--- 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
---
# 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
- name: Turbo Boost - Install msr-tools
package:
name:
- "msr-tools"
state: latest
- update_cache: true
tags:
- turbo-boost
tags:
- turbo-boost