diff --git a/lib/ansible/modules/network/aci/aci_aep.py b/lib/ansible/modules/network/aci/aci_aep.py index 9ac9dcd215..f9bb3ed284 100644 --- a/lib/ansible/modules/network/aci/aci_aep.py +++ b/lib/ansible/modules/network/aci/aci_aep.py @@ -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: diff --git a/lib/ansible/modules/network/aci/aci_interface_policy_ospf.py b/lib/ansible/modules/network/aci/aci_interface_policy_ospf.py index 47d3a3dd95..2ee969b470 100644 --- a/lib/ansible/modules/network/aci/aci_interface_policy_ospf.py +++ b/lib/ansible/modules/network/aci/aci_interface_policy_ospf.py @@ -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. diff --git a/lib/ansible/modules/network/aci/aci_l3out.py b/lib/ansible/modules/network/aci/aci_l3out.py index 4447ec1b18..aa986a6842 100644 --- a/lib/ansible/modules/network/aci/aci_l3out.py +++ b/lib/ansible/modules/network/aci/aci_l3out.py @@ -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: diff --git a/lib/ansible/modules/network/aci/aci_rest.py b/lib/ansible/modules/network/aci/aci_rest.py index 2114bb5ea6..ecc3e9175d 100644 --- a/lib/ansible/modules/network/aci/aci_rest.py +++ b/lib/ansible/modules/network/aci/aci_rest.py @@ -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 diff --git a/lib/ansible/modules/network/aci/aci_static_binding_to_epg.py b/lib/ansible/modules/network/aci/aci_static_binding_to_epg.py index 8d049e00b4..edce94fc55 100644 --- a/lib/ansible/modules/network/aci/aci_static_binding_to_epg.py +++ b/lib/ansible/modules/network/aci/aci_static_binding_to_epg.py @@ -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: diff --git a/lib/ansible/utils/module_docs_fragments/aci.py b/lib/ansible/utils/module_docs_fragments/aci.py index 9e19b1200e..54b371108f 100644 --- a/lib/ansible/utils/module_docs_fragments/aci.py +++ b/lib/ansible/utils/module_docs_fragments/aci.py @@ -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.