Try and make it so growpart doesn't show changed if it didn't change anything.

This commit is contained in:
Kevin Fenzi 2014-01-07 19:54:00 +00:00
parent fc61ec5770
commit c377d22903
3 changed files with 3 additions and 1 deletions

View file

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