Try and make it so growpart doesn't show changed if it didn't change anything.
This commit is contained in:
parent
fc61ec5770
commit
c377d22903
3 changed files with 3 additions and 1 deletions
|
@ -33,6 +33,7 @@
|
|||
action: command growpart /dev/vda 1
|
||||
ignore_errors: true
|
||||
register: growpart
|
||||
changed_when: "growpart.rc != 1"
|
||||
|
||||
- name: resize the /dev/vda 1 fs
|
||||
action: command resize2fs /dev/vda1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue