From 5d402f31c8248689574a8b00c16ef99991968c69 Mon Sep 17 00:00:00 2001 From: Ricardo Carrillo Cruz Date: Tue, 29 Mar 2016 11:37:49 +0000 Subject: [PATCH] Fix is_public type on os_image Without this fix, the is_public value is a string and the shade call handling the module does not evaluate correctly when passing is_public: no --- lib/ansible/modules/cloud/openstack/os_image.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/cloud/openstack/os_image.py b/lib/ansible/modules/cloud/openstack/os_image.py index 06695a268fb..846cfaf50b7 100644 --- a/lib/ansible/modules/cloud/openstack/os_image.py +++ b/lib/ansible/modules/cloud/openstack/os_image.py @@ -127,7 +127,7 @@ def main(): owner = dict(default=None), min_disk = dict(type='int', default=0), min_ram = dict(type='int', default=0), - is_public = dict(default=False), + is_public = dict(type='bool', default=False), filename = dict(default=None), ramdisk = dict(default=None), kernel = dict(default=None),