From c17fe661c42a800b34045404eb45a145846437f6 Mon Sep 17 00:00:00 2001 From: Ricky Elrod Date: Thu, 26 Sep 2013 19:28:00 +0000 Subject: [PATCH] try when instead of when_integer? --- tasks/growroot_cloud.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tasks/growroot_cloud.yml b/tasks/growroot_cloud.yml index b4191f941d..f4f8c30eed 100644 --- a/tasks/growroot_cloud.yml +++ b/tasks/growroot_cloud.yml @@ -17,13 +17,13 @@ - name: reboot the box action: command /sbin/reboot - when_integer: '${growpart.rc} == 0' + when: ${growpart.rc} == 0 ignore_errors: true - name: wait for it to come back (should be quick) local_action: wait_for host=${inventory_hostname} port=22 delay=10 timeout=120 - when_integer: '${growpart.rc} == 0' + when: ${growpart.rc} == 0 - name: resize the /dev/vda 2 fs action: command resize2fs /dev/vda2 - when_integer: '${growpart.rc} == 0' + when: ${growpart.rc} == 0