From c90bf9df98e223f8f8b892dd59147319ea5fed89 Mon Sep 17 00:00:00 2001 From: James Martin Date: Wed, 2 Sep 2015 10:18:38 -0500 Subject: [PATCH] Adds sanity check to make sure nics is a list. --- 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 91d062f1a12..ca70f4ab257 100644 --- a/lib/ansible/modules/cloud/openstack/os_server.py +++ b/lib/ansible/modules/cloud/openstack/os_server.py @@ -392,7 +392,7 @@ def main(): flavor_include = dict(default=None), key_name = dict(default=None), security_groups = dict(default='default'), - nics = dict(default=[]), + nics = dict(default=[], type='list'), meta = dict(default=None), userdata = dict(default=None), config_drive = dict(default=False, type='bool'),