ACI: Fix module parameters (#50051)

* Fix parameter type of private_key

* Fix parameters of various ACI modules
This commit is contained in:
Dag Wieers 2018-12-18 09:30:28 +01:00 committed by GitHub
parent cf00880ab3
commit c1ac87794e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 12 additions and 12 deletions

View file

@ -42,7 +42,6 @@ options:
- The hypervisor functions of the AEP.
- C(no) will disable the infrastructure vlan if it is enabled.
type: bool
default: 'no'
aliases: [ infrastructure_vlan ]
version_added: '2.5'
state:

View file

@ -68,7 +68,7 @@ options:
interface subconfiguration mode command.
- Accepted values range between C(1) and C(450).
- The APIC defaults to C(0) when unset during creation.
type: str
type: int
controls:
description:
- The interface policy controls.

View file

@ -74,8 +74,9 @@ options:
choices: [ bgp, eigrp, ospf, pim, static ]
asn:
description:
- The AS number for the L3Out. Only applicable when using 'eigrp' as the l3protocol
type: str
- The AS number for the L3Out.
- Only applicable when using 'eigrp' as the l3protocol
type: int
aliases: [ as_number ]
version_added: '2.8'
description:

View file

@ -62,7 +62,7 @@ options:
- This may be convenient to template simple requests.
- For anything complex use the C(template) lookup plugin (see examples)
or the M(template) module with parameter C(src).
type: str
type: raw
src:
description:
- Name of the absolute path of the filname that includes the body

View file

@ -100,7 +100,7 @@ options:
- When C(interface_type) is C(switch_port), C(port_channel), or C(fex), then C(leafs) is a string of the leaf ID.
- When C(interface_type) is C(vpc), then C(leafs) is a list with both leaf IDs.
- The C(leafs) value is usually something like '101' or '101-102' depending on C(connection_type).
type: str
type: list
aliases: [ leaves, nodes, paths, switches ]
interface:
description:

View file

@ -18,7 +18,7 @@ options:
port:
description:
- Port number to be used for REST connection.
- The default value depends on parameter `use_ssl`.
- The default value depends on parameter C(use_ssl).
type: int
username:
description:
@ -37,7 +37,7 @@ options:
- PEM formatted file that contains your private key to be used for signature-based authentication.
- The name of the key (without extension) is used as the certificate name in ACI, unless C(certificate_name) is specified.
- This option is mutual exclusive with C(password). If C(password) is provided too, it will be ignored.
type: str
type: path
required: yes
aliases: [ cert_key ]
certificate_name:
@ -62,20 +62,20 @@ options:
default: 30
use_proxy:
description:
- If C(no), it will not use a proxy, even if one is defined in an environment variable on the target hosts.
- If C(no), it will not use a proxy, even if one is defined in an environment variable on the target hosts.
type: bool
default: 'yes'
default: yes
use_ssl:
description:
- If C(no), an HTTP connection will be used instead of the default HTTPS connection.
type: bool
default: 'yes'
default: yes
validate_certs:
description:
- If C(no), SSL certificates will not be validated.
- This should only set to C(no) when used on personally controlled sites using self-signed certificates.
type: bool
default: 'yes'
default: yes
seealso:
- ref: aci_guide
description: Detailed information on how to manage your ACI infrastructure using Ansible.