Blob Blame History Raw
commit 38a18c2890aa80c4562d002cc557945bdf9c5e7e
Author: Bernd Finger <bfinger@redhat.com>
Date:   Tue Oct 1 18:00:59 2019 +0200

    added "LC_ALL=C " before commands for which the outputs are to be evaluated

diff --git a/tasks/RedHat/generic/configure-cpu-governor-for-performance.yml b/tasks/RedHat/generic/configure-cpu-governor-for-performance.yml
index 3cef670..274c7ea 100644
--- a/tasks/RedHat/generic/configure-cpu-governor-for-performance.yml
+++ b/tasks/RedHat/generic/configure-cpu-governor-for-performance.yml
@@ -7,7 +7,7 @@
 #   in included tuned profile throughput-performance
 - block:
     - name: Check if system is able to set CPU Governor for performance
-      command: bash -lc "cpupower frequency-info -g | awk '/available cpufreq governors/{print $(NF-1), $NF}'"
+      command: bash -lc "LC_ALL=C cpupower frequency-info -g | awk '/available cpufreq governors/{print $(NF-1), $NF}'"
       check_mode: no
       register: command_check_result
       ignore_errors: true
diff --git a/tasks/RedHat/generic/configure-epb.yml b/tasks/RedHat/generic/configure-epb.yml
index adf5891..71d8b91 100644
--- a/tasks/RedHat/generic/configure-epb.yml
+++ b/tasks/RedHat/generic/configure-epb.yml
@@ -7,7 +7,7 @@
 #   in included tuned profile throughput-performance
 - block:
     - name: Check if system supports Intel's performance bias setting
-      command: bash -lc "cpupower info | head -1 | awk '{print $2, $3, $4}'"
+      command: bash -lc "LC_ALL=C cpupower info | head -1 | awk '{print $2, $3, $4}'"
       check_mode: no
       register: command_check_result
       ignore_errors: true