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. - The hypervisor functions of the AEP.
- C(no) will disable the infrastructure vlan if it is enabled. - C(no) will disable the infrastructure vlan if it is enabled.
type: bool type: bool
default: 'no'
aliases: [ infrastructure_vlan ] aliases: [ infrastructure_vlan ]
version_added: '2.5' version_added: '2.5'
state: state:

View file

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

View file

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

View file

@ -62,7 +62,7 @@ options:
- This may be convenient to template simple requests. - This may be convenient to template simple requests.
- For anything complex use the C(template) lookup plugin (see examples) - For anything complex use the C(template) lookup plugin (see examples)
or the M(template) module with parameter C(src). or the M(template) module with parameter C(src).
type: str type: raw
src: src:
description: description:
- Name of the absolute path of the filname that includes the body - 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(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. - 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). - 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 ] aliases: [ leaves, nodes, paths, switches ]
interface: interface:
description: description:

View file

@ -18,7 +18,7 @@ options:
port: port:
description: description:
- Port number to be used for REST connection. - 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 type: int
username: username:
description: description:
@ -37,7 +37,7 @@ options:
- PEM formatted file that contains your private key to be used for signature-based authentication. - 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. - 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. - This option is mutual exclusive with C(password). If C(password) is provided too, it will be ignored.
type: str type: path
required: yes required: yes
aliases: [ cert_key ] aliases: [ cert_key ]
certificate_name: certificate_name:
@ -62,20 +62,20 @@ options:
default: 30 default: 30
use_proxy: use_proxy:
description: 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 type: bool
default: 'yes' default: yes
use_ssl: use_ssl:
description: description:
- If C(no), an HTTP connection will be used instead of the default HTTPS connection. - If C(no), an HTTP connection will be used instead of the default HTTPS connection.
type: bool type: bool
default: 'yes' default: yes
validate_certs: validate_certs:
description: description:
- If C(no), SSL certificates will not be validated. - 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. - This should only set to C(no) when used on personally controlled sites using self-signed certificates.
type: bool type: bool
default: 'yes' default: yes
seealso: seealso:
- ref: aci_guide - ref: aci_guide
description: Detailed information on how to manage your ACI infrastructure using Ansible. description: Detailed information on how to manage your ACI infrastructure using Ansible.