From d6e32b82452d02a7d030d73d51a36f66df8d2758 Mon Sep 17 00:00:00 2001 From: David Hocky Date: Thu, 3 Mar 2016 14:15:04 -0500 Subject: [PATCH] add explicit type for scheduler hints --- lib/ansible/modules/cloud/openstack/os_server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/modules/cloud/openstack/os_server.py b/lib/ansible/modules/cloud/openstack/os_server.py index 545237bc0a..a7c1d3324b 100644 --- a/lib/ansible/modules/cloud/openstack/os_server.py +++ b/lib/ansible/modules/cloud/openstack/os_server.py @@ -560,7 +560,7 @@ def main(): boot_volume = dict(default=None, aliases=['root_volume']), terminate_volume = dict(default=False, type='bool'), volumes = dict(default=[], type='list'), - scheduler_hints = dict(default=None), + scheduler_hints = dict(default=None, type='dict'), state = dict(default='present', choices=['absent', 'present']), ) module_kwargs = openstack_module_kwargs(