From 06f5537d494ee697317c9f06d390686dec363740 Mon Sep 17 00:00:00 2001 From: Dawid Deja Date: Fri, 19 Feb 2016 14:45:25 +0100 Subject: [PATCH] Add retry policy to workflow Signed-off-by: Dawid Deja --- host-evacuate.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/host-evacuate.yaml b/host-evacuate.yaml index da22dab..0d0b746 100644 --- a/host-evacuate.yaml +++ b/host-evacuate.yaml @@ -22,7 +22,13 @@ host-evacuate: publish: filtered_vms: <% $.filter_vms %> on-success: evacuate_vms + retry: + delay: 5 + count: 10 evacuate_vms: with-items: vm in <% $.filtered_vms %> action: custom.evacuate uuid=<% $.vm.uuid %> evacuate=<% $.vm.evacuate %> on_shared_storage=<% $.on_shared_storage %> + retry: + delay: 5 + count: 10