diff --git a/playbooks/f19_temp_instance.yml b/playbooks/f19_temp_instance.yml index 1c7f0196aa..08c95144c8 100644 --- a/playbooks/f19_temp_instance.yml +++ b/playbooks/f19_temp_instance.yml @@ -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 diff --git a/playbooks/f20_temp_instance.yml b/playbooks/f20_temp_instance.yml index bd53c850ad..c2b4a1a865 100644 --- a/playbooks/f20_temp_instance.yml +++ b/playbooks/f20_temp_instance.yml @@ -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 diff --git a/tasks/growroot_cloud.yml b/tasks/growroot_cloud.yml index 43b56cb96f..e5e15a1413 100644 --- a/tasks/growroot_cloud.yml +++ b/tasks/growroot_cloud.yml @@ -3,7 +3,6 @@ when: is_rhel == 'True' tags: - config - - name: install cloud-utils action: yum name=cloud-utils state=present @@ -15,6 +14,7 @@ ignore_errors: true register: growpart always_run: true + changed_when: "growpart.rc != 1" - name: reboot the box action: command /sbin/reboot