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

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