From e822271d1a1345bc4843469a369dcad65a5aea32 Mon Sep 17 00:00:00 2001 From: Sloane Hertel Date: Thu, 23 Nov 2017 20:35:58 -0500 Subject: [PATCH] Allow delivery delay to be 0 (#33241) --- lib/ansible/modules/cloud/amazon/sqs_queue.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/cloud/amazon/sqs_queue.py b/lib/ansible/modules/cloud/amazon/sqs_queue.py index e25f0b58a7f..e66d224b8d8 100644 --- a/lib/ansible/modules/cloud/amazon/sqs_queue.py +++ b/lib/ansible/modules/cloud/amazon/sqs_queue.py @@ -233,7 +233,7 @@ def update_sqs_queue(queue, def set_queue_attribute(queue, attribute, value, check_mode=False): - if not value: + if not value and value != 0: return False try: