Fix parameters where type is assumed.

A change is coming to Ansible where module params will default to str.
Many of our modules were taking advantage of this by not being explicit
about the type, so they will break when that change merges. This hopefully
catches those cases.
This commit is contained in:
David Shrewsbury 2016-02-12 12:30:52 -05:00 committed by Matt Clay
parent ca9be1d62c
commit d7568a50e2
7 changed files with 12 additions and 12 deletions

View file

@ -117,7 +117,7 @@ def main():
argument_spec = openstack_full_argument_spec(
name=dict(required=False, default=None),
filters=dict(required=False, default=None)
filters=dict(required=False, type='dict', default=None)
)
module = AnsibleModule(argument_spec)