Skip to content
Snippets Groups Projects
Unverified Commit 1f283196 authored by Rong Zhang's avatar Rong Zhang Committed by GitHub
Browse files

Merge pull request #3041 from woosley/master

set LC_ALL=C for growpart
parents a5c165bb 72074f28
Branches
Tags
No related merge requests found
...@@ -12,6 +12,8 @@ ...@@ -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
...@@ -21,6 +23,8 @@ ...@@ -21,6 +23,8 @@
- name: run growpart - name: run growpart
command: growpart /dev/sda 1 command: growpart /dev/sda 1
when: growpart_needed.changed when: growpart_needed.changed
environment:
LC_ALL: C
- name: run xfs_growfs - name: run xfs_growfs
command: xfs_growfs /dev/sda1 command: xfs_growfs /dev/sda1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment