From 33079b2b7fdc9138e06052b9a3799259dcff8b9f Mon Sep 17 00:00:00 2001 From: Constantin07 Date: Thu, 3 Mar 2016 10:31:30 +0000 Subject: [PATCH] Treat 'is_public' option as a bool --- lib/ansible/modules/cloud/amazon/ec2_ami_find.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/cloud/amazon/ec2_ami_find.py b/lib/ansible/modules/cloud/amazon/ec2_ami_find.py index 73c9f29d32c..47f265ad912 100644 --- a/lib/ansible/modules/cloud/amazon/ec2_ami_find.py +++ b/lib/ansible/modules/cloud/amazon/ec2_ami_find.py @@ -299,7 +299,7 @@ def main(): aliases = ['search_tags', 'image_tags']), architecture = dict(required=False), hypervisor = dict(required=False), - is_public = dict(required=False), + is_public = dict(required=False, type='bool'), name = dict(required=False), platform = dict(required=False), sort = dict(required=False, default=None,