aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.ansible/roles/performance_tuning
diff options
context:
space:
mode:
Diffstat (limited to 'fdio.infra.ansible/roles/performance_tuning')
-rw-r--r--fdio.infra.ansible/roles/performance_tuning/defaults/main.yaml2
-rw-r--r--fdio.infra.ansible/roles/performance_tuning/tasks/main.yaml4
-rw-r--r--fdio.infra.ansible/roles/performance_tuning/tasks/turbo_boost.yaml4
3 files changed, 5 insertions, 5 deletions
diff --git a/fdio.infra.ansible/roles/performance_tuning/defaults/main.yaml b/fdio.infra.ansible/roles/performance_tuning/defaults/main.yaml
index 2dad931e92..128be4970b 100644
--- a/fdio.infra.ansible/roles/performance_tuning/defaults/main.yaml
+++ b/fdio.infra.ansible/roles/performance_tuning/defaults/main.yaml
@@ -17,4 +17,4 @@ packages_by_arch:
aarch64:
- []
x86_64:
- - [] \ No newline at end of file
+ - []
diff --git a/fdio.infra.ansible/roles/performance_tuning/tasks/main.yaml b/fdio.infra.ansible/roles/performance_tuning/tasks/main.yaml
index e9cdd0d819..b123be0a3c 100644
--- a/fdio.infra.ansible/roles/performance_tuning/tasks/main.yaml
+++ b/fdio.infra.ansible/roles/performance_tuning/tasks/main.yaml
@@ -3,7 +3,7 @@
- name: Inst - Update Package Cache (APT)
apt:
- update_cache: yes
+ update_cache: true
cache_valid_time: 3600
when:
- ansible_distribution|lower == 'ubuntu'
@@ -186,4 +186,4 @@
tags:
- perf-conf-load-kernel-modules
-- meta: flush_handlers \ No newline at end of file
+- meta: flush_handlers
diff --git a/fdio.infra.ansible/roles/performance_tuning/tasks/turbo_boost.yaml b/fdio.infra.ansible/roles/performance_tuning/tasks/turbo_boost.yaml
index 7f69365a2d..cff71e9ce3 100644
--- a/fdio.infra.ansible/roles/performance_tuning/tasks/turbo_boost.yaml
+++ b/fdio.infra.ansible/roles/performance_tuning/tasks/turbo_boost.yaml
@@ -3,7 +3,7 @@
- name: Inst - Update Package Cache (APT)
apt:
- update_cache: yes
+ update_cache: true
cache_valid_time: 3600
when:
- ansible_distribution|lower == 'ubuntu'
@@ -39,6 +39,6 @@
- name: Conf - Custom Startup Service Hook Enable
service:
name: "disable-turbo-boost"
- enabled: yes
+ enabled: true
tags:
- turbo-conf-msr