diff --git a/roles/kubernetes/preinstall/tasks/growpart-azure-centos-7.yml b/roles/kubernetes/preinstall/tasks/growpart-azure-centos-7.yml index 5bfb57b24..3e737fea3 100644 --- a/roles/kubernetes/preinstall/tasks/growpart-azure-centos-7.yml +++ b/roles/kubernetes/preinstall/tasks/growpart-azure-centos-7.yml @@ -12,7 +12,7 @@ failed_when: False changed_when: "'NOCHANGE:' not in growpart_needed.stdout" register: growpart_needed - environment: + environment: LC_ALL: C - name: check fs type @@ -23,7 +23,7 @@ - name: run growpart command: growpart /dev/sda 1 when: growpart_needed.changed - environment: + environment: LC_ALL: C - name: run xfs_growfs