From 7af1c966232cf8a733fb61667c1d7752c097ac1b Mon Sep 17 00:00:00 2001 From: Steve Fox Date: Mon, 1 Dec 2014 14:21:52 -0600 Subject: [PATCH] retry_interval needs to be a float before passing to time.sleep --- lib/ansible/modules/cloud/amazon/route53.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/cloud/amazon/route53.py b/lib/ansible/modules/cloud/amazon/route53.py index 9958b221031..6fb44fcbf0f 100644 --- a/lib/ansible/modules/cloud/amazon/route53.py +++ b/lib/ansible/modules/cloud/amazon/route53.py @@ -162,7 +162,7 @@ def commit(changes, retry_interval): code = code.split("")[0] if code != 'PriorRequestNotComplete' or retry < 0: raise e - time.sleep(retry_interval) + time.sleep(float(retry_interval)) def main(): argument_spec = ec2_argument_spec()