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

Improvements on documentation and removing unneeded quotes from yaml

This commit is contained in:
Felipe Bulsoni 2017-09-26 14:13:33 -03:00 committed by Dag Wieers
parent 637571abfb
commit 5c3bbd4620

View file

@ -1,5 +1,6 @@
#!/usr/bin/python
# Copyright (c) 2016-2017 Hewlett Packard Enterprise Development LP
# Copyright: (c) 2016-2017, Hewlett Packard Enterprise Development LP
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
from __future__ import (absolute_import, division, print_function)
@ -26,10 +27,10 @@ options:
state:
description:
- Indicates the desired state for the Logical Interconnect Group resource.
C(present) will ensure data properties are compliant with OneView.
C(absent) will remove the resource from OneView, if it exists.
C(present) will ensure data properties are compliant with OneView.
choices: [absent, present]
default: present
choices: ['present', 'absent']
data:
description:
- List with the Logical Interconnect Group properties.
@ -45,19 +46,19 @@ EXAMPLES = '''
config: /etc/oneview/oneview_config.json
state: present
data:
name: 'Test Logical Interconnect Group'
name: Test Logical Interconnect Group
uplinkSets: []
enclosureType: 'C7000'
enclosureType: C7000
interconnectMapTemplate:
interconnectMapEntryTemplates:
- logicalDownlinkUri: ~
logicalLocation:
locationEntries:
- relativeValue: "1"
type: "Bay"
- relativeValue: 1
type: "Enclosure"
permittedInterconnectTypeName: 'HP VC Flex-10/10D Module'
type: Bay
- relativeValue: 1
type: Enclosure
permittedInterconnectTypeName: HP VC Flex-10/10D Module
# Alternatively you can inform permittedInterconnectTypeUri
delegate_to: localhost