set locale for growpart

This commit is contained in:
woosley.xu 2018-07-31 06:52:56 +08:00
parent a2c9331b56
commit a5db3dbea9

View file

@ -12,6 +12,8 @@
failed_when: False failed_when: False
changed_when: "'NOCHANGE:' not in growpart_needed.stdout" changed_when: "'NOCHANGE:' not in growpart_needed.stdout"
register: growpart_needed register: growpart_needed
environment:
LC_ALL: C
- name: check fs type - name: check fs type
command: file -Ls /dev/sda1 command: file -Ls /dev/sda1