Blame SOURCES/sap-hana-preconfigure-38a18c2890aa80c4562d002cc557945bdf9c5e7e.patch

d33a4a
commit 38a18c2890aa80c4562d002cc557945bdf9c5e7e
d33a4a
Author: Bernd Finger <bfinger@redhat.com>
d33a4a
Date:   Tue Oct 1 18:00:59 2019 +0200
d33a4a
d33a4a
    added "LC_ALL=C " before commands for which the outputs are to be evaluated
d33a4a
d33a4a
diff --git a/tasks/RedHat/generic/configure-cpu-governor-for-performance.yml b/tasks/RedHat/generic/configure-cpu-governor-for-performance.yml
d33a4a
index 3cef670..274c7ea 100644
d33a4a
--- a/tasks/RedHat/generic/configure-cpu-governor-for-performance.yml
d33a4a
+++ b/tasks/RedHat/generic/configure-cpu-governor-for-performance.yml
d33a4a
@@ -7,7 +7,7 @@
d33a4a
 #   in included tuned profile throughput-performance
d33a4a
 - block:
d33a4a
     - name: Check if system is able to set CPU Governor for performance
d33a4a
-      command: bash -lc "cpupower frequency-info -g | awk '/available cpufreq governors/{print $(NF-1), $NF}'"
d33a4a
+      command: bash -lc "LC_ALL=C cpupower frequency-info -g | awk '/available cpufreq governors/{print $(NF-1), $NF}'"
d33a4a
       check_mode: no
d33a4a
       register: command_check_result
d33a4a
       ignore_errors: true
d33a4a
diff --git a/tasks/RedHat/generic/configure-epb.yml b/tasks/RedHat/generic/configure-epb.yml
d33a4a
index adf5891..71d8b91 100644
d33a4a
--- a/tasks/RedHat/generic/configure-epb.yml
d33a4a
+++ b/tasks/RedHat/generic/configure-epb.yml
d33a4a
@@ -7,7 +7,7 @@
d33a4a
 #   in included tuned profile throughput-performance
d33a4a
 - block:
d33a4a
     - name: Check if system supports Intel's performance bias setting
d33a4a
-      command: bash -lc "cpupower info | head -1 | awk '{print $2, $3, $4}'"
d33a4a
+      command: bash -lc "LC_ALL=C cpupower info | head -1 | awk '{print $2, $3, $4}'"
d33a4a
       check_mode: no
d33a4a
       register: command_check_result
d33a4a
       ignore_errors: true