Fix yaml roles error

This commit is contained in:
rongzhang 2018-08-05 18:48:07 +08:00
parent 453fea1977
commit ac644ed049

View file

@ -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