1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Define external_ids ’type' in openvswitch_bridge (#2523)

The external_ids 'type' was not defined in the argument spec of
openvswitch_bridge. This caused 'external_ids' to be converted to a
string leading to an error when later calling exp_external_ids.items().
This commit is contained in:
Blake Covarrubias 2016-07-07 15:33:24 -07:00 committed by Matt Clay
parent ec8a6abd64
commit 5cdc905cab

View file

@ -249,7 +249,7 @@ def main():
'bridge': {'required': True}, 'bridge': {'required': True},
'state': {'default': 'present', 'choices': ['present', 'absent']}, 'state': {'default': 'present', 'choices': ['present', 'absent']},
'timeout': {'default': 5, 'type': 'int'}, 'timeout': {'default': 5, 'type': 'int'},
'external_ids': {'default': None}, 'external_ids': {'default': None, 'type': 'dict'},
'fail_mode': {'default': None}, 'fail_mode': {'default': None},
}, },
supports_check_mode=True, supports_check_mode=True,