From 72074f283b80429088fc0fd26a1dc7d09b802f44 Mon Sep 17 00:00:00 2001 From: "woosley.xu" Date: Tue, 31 Jul 2018 06:56:09 +0800 Subject: [PATCH] set local for growpart part 2 --- roles/kubernetes/preinstall/tasks/growpart-azure-centos-7.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/kubernetes/preinstall/tasks/growpart-azure-centos-7.yml b/roles/kubernetes/preinstall/tasks/growpart-azure-centos-7.yml index 27fc661ef..5bfb57b24 100644 --- a/roles/kubernetes/preinstall/tasks/growpart-azure-centos-7.yml +++ b/roles/kubernetes/preinstall/tasks/growpart-azure-centos-7.yml @@ -23,6 +23,8 @@ - name: run growpart command: growpart /dev/sda 1 when: growpart_needed.changed + environment: + LC_ALL: C - name: run xfs_growfs command: xfs_growfs /dev/sda1