From c644e3da79061189fd951e81158b11c043401b17 Mon Sep 17 00:00:00 2001 From: Kevin Breit Date: Mon, 9 Jul 2018 04:21:12 -0500 Subject: [PATCH] meraki_network - Added proper response documentation (#42393) * Added proper response documentation to meraki_network * Missing colon --- .../modules/network/meraki/meraki_network.py | 49 ++++++++++++++----- 1 file changed, 37 insertions(+), 12 deletions(-) diff --git a/lib/ansible/modules/network/meraki/meraki_network.py b/lib/ansible/modules/network/meraki/meraki_network.py index 8d16be2c8fc..c17106ba9c5 100644 --- a/lib/ansible/modules/network/meraki/meraki_network.py +++ b/lib/ansible/modules/network/meraki/meraki_network.py @@ -91,18 +91,43 @@ RETURN = r''' data: description: Information about the created or manipulated object. returned: info - type: list - sample: - [ - { - "id": "N_12345", - "name": "YourNetwork", - "organizationId": "0987654321", - "tags": " production ", - "timeZone": "America/Chicago", - "type": "switch" - } - ] + type: complex + contains: + id: + description: Identification string of network. + returned: success + type: string + sample: N_12345 + name: + description: Written name of network. + returned: success + type: string + sample: YourNet + organizationId: + description: Organization ID which owns the network. + returned: success + type: string + sample: 0987654321 + tags: + description: Space delimited tags assigned to network. + returned: success + type: string + sample: " production wireless " + timeZone: + description: Timezone where network resides. + returned: success + type: string + sample: America/Chicago + type: + description: Functional type of network. + returned: success + type: string + sample: switch + disableMyMerakiCom: + description: States whether U(my.meraki.com) and other device portals should be disabled. + returned: success + type: bool + sample: true ''' import os