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

Tidy up validate-modules ignores for modules: net_tools/nios (#1598)

* Added ``normalize_ib_spec()``

* Added suboptions

- ``http_pool_connections``
- ``http_pool_maxsize``
- ``silent_ssl_warnings``

* fixed validation-modules for plugins/modules/net_tools/nios/nios_a_record.py

* fixed validation-modules for plugins/modules/net_tools/nios/nios_aaaa_record.py

* fixed validation-modules for plugins/modules/net_tools/nios/nios_cname_record.py

* fixed validation-modules for plugins/modules/net_tools/nios/nios_dns_view.py

* fixed validation-modules for plugins/modules/net_tools/nios/nios_fixed_address.py

* fixed validation-modules for plugins/modules/net_tools/nios/nios_host_record.py

* fixed validation-modules for plugins/modules/net_tools/nios/nios_member.py

* fixed validation-modules for plugins/modules/net_tools/nios/nios_mx_record.py

* fixed validation-modules for plugins/modules/net_tools/nios/nios_naptr_record.py

* fixed validation-modules for plugins/modules/net_tools/nios/nios_network.py

* fixed validation-modules for plugins/modules/net_tools/nios/nios_network_view.py

* fixed validation-modules for plugins/modules/net_tools/nios/nios_ptr_record.py

* fixed validation-modules for plugins/modules/net_tools/nios/nios_srv_record.py

* fixed validation-modules for plugins/modules/net_tools/nios/nios_txt_record.py

* fixed validation-modules for plugins/modules/net_tools/nios/nios_zone.py

* fixed validation-modules for plugins/modules/net_tools/nios/nios_nsgroup.py

* Added function to normalize the ``ib_spec`` for ansible usage.

* Tidy up validate-modules ignores for net_tools/nios modules

* Update plugins/modules/net_tools/nios/nios_nsgroup.py

Co-authored-by: Felix Fontein <felix@fontein.de>

* Update plugins/modules/net_tools/nios/nios_nsgroup.py

Co-authored-by: Felix Fontein <felix@fontein.de>

* Update plugins/modules/net_tools/nios/nios_nsgroup.py

Co-authored-by: Felix Fontein <felix@fontein.de>

* Update plugins/modules/net_tools/nios/nios_nsgroup.py

Co-authored-by: Felix Fontein <felix@fontein.de>

* Update plugins/modules/net_tools/nios/nios_nsgroup.py

Co-authored-by: Felix Fontein <felix@fontein.de>

* Update plugins/modules/net_tools/nios/nios_nsgroup.py

Co-authored-by: Felix Fontein <felix@fontein.de>

* fixed missing defaults, per PR tests

* added changelog fragment

* Update changelogs/fragments/nios-fix-ib_spec.yaml

Co-authored-by: Felix Fontein <felix@fontein.de>

Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
Alexei Znamensky 2021-01-12 10:14:46 +13:00 committed by GitHub
parent 637571993a
commit 6c7f8f97ad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
22 changed files with 326 additions and 276 deletions

View file

@ -0,0 +1,2 @@
minor_changes:
- nios modules - clean up module argument spec processing (https://github.com/ansible-collections/community.general/pull/1598).

View file

@ -78,6 +78,24 @@ options:
variable.
type: int
default: 1000
http_pool_connections:
description:
- Number of pools to be used by the C(infoblox_client.Connector) object.
- This is passed as-is to the underlying C(requests.adapters.HTTPAdapter) class.
type: int
default: 10
http_pool_maxsize:
description:
- Maximum number of connections per pool to be used by the C(infoblox_client.Connector) object.
- This is passed as-is to the underlying C(requests.adapters.HTTPAdapter) class.
type: int
default: 10
silent_ssl_warnings:
description:
- Disable C(urllib3) SSL warnings in the C(infoblox_client.Connector) object.
- This is passed as-is to the underlying C(requests.adapters.HTTPAdapter) class.
type: bool
default: true
notes:
- "This module must be run locally, which can be achieved by specifying C(connection: local)."
- Please read the :ref:`nios_guide` for more detailed information on how to use Infoblox with Ansible.

View file

@ -158,6 +158,15 @@ def member_normalize(member_spec):
return member_spec
def normalize_ib_spec(ib_spec):
result = {}
for arg in ib_spec:
result[arg] = dict([(k, v)
for k, v in iteritems(ib_spec[arg])
if k not in ('ib_req', 'transform', 'update')])
return result
class WapiBase(object):
''' Base class for implementing Infoblox WAPI API '''
provider_spec = {'provider': dict(type='dict', options=NIOS_PROVIDER_SPEC)}

View file

@ -45,16 +45,19 @@ options:
ttl:
description:
- Configures the TTL to be associated with this A record
type: int
extattrs:
description:
- Allows for the configuration of Extensible Attributes on the
instance of the object. This argument accepts a set of key / value
pairs for configuration.
type: dict
comment:
description:
- Configures a text string comment to be associated with the instance
of this object. The provided text string will be configured on the
object instance.
type: str
state:
description:
- Configures the intended state of the instance of the object on
@ -65,6 +68,7 @@ options:
choices:
- present
- absent
type: str
'''
EXAMPLES = '''
@ -128,9 +132,9 @@ EXAMPLES = '''
RETURN = ''' # '''
from ansible.module_utils.basic import AnsibleModule
from ansible.module_utils.six import iteritems
from ansible_collections.community.general.plugins.module_utils.net_tools.nios.api import WapiModule
from ansible_collections.community.general.plugins.module_utils.net_tools.nios.api import NIOS_A_RECORD
from ansible_collections.community.general.plugins.module_utils.net_tools.nios.api import normalize_ib_spec
def main():
@ -154,7 +158,7 @@ def main():
state=dict(default='present', choices=['present', 'absent'])
)
argument_spec.update(ib_spec)
argument_spec.update(normalize_ib_spec(ib_spec))
argument_spec.update(WapiModule.provider_spec)
module = AnsibleModule(argument_spec=argument_spec,

View file

@ -25,6 +25,7 @@ options:
- Specifies the fully qualified hostname to add or remove from
the system
required: true
type: str
view:
description:
- Sets the DNS view to associate this AAAA record with. The DNS
@ -32,24 +33,29 @@ options:
default: default
aliases:
- dns_view
type: str
ipv6addr:
description:
- Configures the IPv6 address for this AAAA record.
aliases:
- ipv6
type: str
ttl:
description:
- Configures the TTL to be associated with this AAAA record
type: int
extattrs:
description:
- Allows for the configuration of Extensible Attributes on the
instance of the object. This argument accepts a set of key / value
pairs for configuration.
type: dict
comment:
description:
- Configures a text string comment to be associated with the instance
of this object. The provided text string will be configured on the
object instance.
type: str
state:
description:
- Configures the intended state of the instance of the object on
@ -60,6 +66,7 @@ options:
choices:
- present
- absent
type: str
'''
EXAMPLES = '''
@ -112,9 +119,9 @@ EXAMPLES = '''
RETURN = ''' # '''
from ansible.module_utils.basic import AnsibleModule
from ansible.module_utils.six import iteritems
from ansible_collections.community.general.plugins.module_utils.net_tools.nios.api import WapiModule
from ansible_collections.community.general.plugins.module_utils.net_tools.nios.api import NIOS_AAAA_RECORD
from ansible_collections.community.general.plugins.module_utils.net_tools.nios.api import normalize_ib_spec
def main():
@ -138,7 +145,7 @@ def main():
state=dict(default='present', choices=['present', 'absent'])
)
argument_spec.update(ib_spec)
argument_spec.update(normalize_ib_spec(ib_spec))
argument_spec.update(WapiModule.provider_spec)
module = AnsibleModule(argument_spec=argument_spec,

View file

@ -25,6 +25,7 @@ options:
- Specifies the fully qualified hostname to add or remove from
the system
required: true
type: str
view:
description:
- Sets the DNS view to associate this CNAME record with. The DNS
@ -32,24 +33,29 @@ options:
default: default
aliases:
- dns_view
type: str
canonical:
description:
- Configures the canonical name for this CNAME record.
aliases:
- cname
type: str
ttl:
description:
- Configures the TTL to be associated with this CNAME record
type: int
extattrs:
description:
- Allows for the configuration of Extensible Attributes on the
instance of the object. This argument accepts a set of key / value
pairs for configuration.
type: dict
comment:
description:
- Configures a text string comment to be associated with the instance
of this object. The provided text string will be configured on the
object instance.
type: str
state:
description:
- Configures the intended state of the instance of the object on
@ -60,6 +66,7 @@ options:
choices:
- present
- absent
type: str
'''
EXAMPLES = '''
@ -101,9 +108,9 @@ EXAMPLES = '''
RETURN = ''' # '''
from ansible.module_utils.basic import AnsibleModule
from ansible.module_utils.six import iteritems
from ansible_collections.community.general.plugins.module_utils.net_tools.nios.api import WapiModule
from ansible_collections.community.general.plugins.module_utils.net_tools.nios.api import NIOS_CNAME_RECORD
from ansible_collections.community.general.plugins.module_utils.net_tools.nios.api import normalize_ib_spec
def main():
@ -127,7 +134,7 @@ def main():
state=dict(default='present', choices=['present', 'absent'])
)
argument_spec.update(ib_spec)
argument_spec.update(normalize_ib_spec(ib_spec))
argument_spec.update(WapiModule.provider_spec)
module = AnsibleModule(argument_spec=argument_spec,

View file

@ -29,24 +29,28 @@ options:
required: true
aliases:
- view
type: str
network_view:
description:
- Specifies the name of the network view to assign the configured
DNS view to. The network view must already be configured on the
target system.
default: default
type: str
extattrs:
description:
- Allows for the configuration of Extensible Attributes on the
instance of the object. This argument accepts a set of key / value
pairs for configuration.
required: false
type: dict
comment:
description:
- Configures a text string comment to be associated with the instance
of this object. The provided text string will be configured on the
object instance.
required: false
type: str
state:
description:
- Configures the intended state of the instance of the object on
@ -58,6 +62,7 @@ options:
choices:
- present
- absent
type: str
'''
EXAMPLES = '''
@ -105,6 +110,7 @@ RETURN = ''' # '''
from ansible.module_utils.basic import AnsibleModule
from ansible_collections.community.general.plugins.module_utils.net_tools.nios.api import WapiModule
from ansible_collections.community.general.plugins.module_utils.net_tools.nios.api import NIOS_DNS_VIEW
from ansible_collections.community.general.plugins.module_utils.net_tools.nios.api import normalize_ib_spec
def main():
@ -123,7 +129,7 @@ def main():
state=dict(default='present', choices=['present', 'absent'])
)
argument_spec.update(ib_spec)
argument_spec.update(normalize_ib_spec(ib_spec))
argument_spec.update(WapiModule.provider_spec)
module = AnsibleModule(argument_spec=argument_spec,

View file

@ -26,24 +26,29 @@ options:
- Specifies the hostname with which fixed DHCP ip-address is stored
for respective mac.
required: true
type: str
ipaddr:
description:
- IPV4/V6 address of the fixed address.
required: true
type: str
mac:
description:
- The MAC address of the interface.
required: true
type: str
network:
description:
- Specifies the network range in which ipaddr exists.
required: true
type: str
network_view:
description:
- Configures the name of the network view to associate with this
configured instance.
required: false
default: default
type: str
options:
description:
- Configures the set of DHCP options to be included as part of
@ -56,13 +61,16 @@ options:
name:
description:
- The name of the DHCP option to configure
type: str
num:
description:
- The number of the DHCP option to configure
type: int
value:
description:
- The value of the DHCP option specified by C(name)
required: true
type: str
use_option:
description:
- Only applies to a subset of options (see NIOS API documentation)
@ -72,16 +80,19 @@ options:
description:
- The name of the space this DHCP option is associated to
default: DHCP
type: str
extattrs:
description:
- Allows for the configuration of Extensible Attributes on the
instance of the object. This argument accepts a set of key / value
pairs for configuration.
type: dict
comment:
description:
- Configures a text string comment to be associated with the instance
of this object. The provided text string will be configured on the
object instance.
type: str
state:
description:
- Configures the intended state of the instance of the object on
@ -92,6 +103,7 @@ options:
choices:
- present
- absent
type: str
'''
EXAMPLES = '''
@ -163,6 +175,7 @@ from ansible.module_utils.basic import AnsibleModule
from ansible.module_utils.six import iteritems
from ansible_collections.community.general.plugins.module_utils.net_tools.nios.api import WapiModule
from ansible_collections.community.general.plugins.module_utils.net_tools.nios.api import NIOS_IPV4_FIXED_ADDRESS, NIOS_IPV6_FIXED_ADDRESS
from ansible_collections.community.general.plugins.module_utils.net_tools.nios.api import normalize_ib_spec
def validate_ip_address(address):
@ -261,7 +274,7 @@ def main():
state=dict(default='present', choices=['present', 'absent'])
)
argument_spec.update(ib_spec)
argument_spec.update(normalize_ib_spec(ib_spec))
argument_spec.update(WapiModule.provider_spec)
module = AnsibleModule(argument_spec=argument_spec,

View file

@ -27,6 +27,7 @@ options:
the system. User can also update the hostname as it is possible
to pass a dict containing I(new_name), I(old_name). See examples.
required: true
type: str
view:
description:
- Sets the DNS view to associate this host record with. The DNS
@ -34,6 +35,7 @@ options:
default: default
aliases:
- dns_view
type: str
configure_for_dns:
description:
- Sets the DNS to particular parent. If user needs to bypass DNS
@ -62,6 +64,7 @@ options:
required: true
aliases:
- address
type: str
configure_for_dhcp:
description:
- Configure the host_record over DHCP instead of DNS, if user
@ -69,11 +72,13 @@ options:
required: false
aliases:
- dhcp
type: bool
mac:
description:
- Configures the hardware MAC address for the host record. If user makes
DHCP to true, user need to mention MAC address.
required: false
type: str
add:
description:
- If user wants to add the ipv4 address to an existing host record.
@ -105,29 +110,42 @@ options:
required: true
aliases:
- address
type: str
configure_for_dhcp:
description:
- Configure the host_record over DHCP instead of DNS, if user
changes it to true, user need to mention MAC address to configure
required: false
type: bool
mac:
description:
- Configures the hardware MAC address for the host record. If user makes
DHCP to true, user need to mention MAC address.
required: false
type: str
aliases:
description:
- Configures an optional list of additional aliases to add to the host
record. These are equivalent to CNAMEs but held within a host
record. Must be in list format.
type: list
elements: str
ttl:
description:
- Configures the TTL to be associated with this host record
type: int
extattrs:
description:
- Allows for the configuration of Extensible Attributes on the
instance of the object. This argument accepts a set of key / value
pairs for configuration.
type: dict
comment:
description:
- Configures a text string comment to be associated with the instance
of this object. The provided text string will be configured on the
object instance.
type: str
state:
description:
- Configures the intended state of the instance of the object on
@ -138,6 +156,7 @@ options:
choices:
- present
- absent
type: str
'''
EXAMPLES = '''
@ -255,6 +274,7 @@ from ansible.module_utils.basic import AnsibleModule
from ansible.module_utils.six import iteritems
from ansible_collections.community.general.plugins.module_utils.net_tools.nios.api import WapiModule
from ansible_collections.community.general.plugins.module_utils.net_tools.nios.api import NIOS_HOST_RECORD
from ansible_collections.community.general.plugins.module_utils.net_tools.nios.api import normalize_ib_spec
def ipaddr(module, key, filtered_keys=None):
@ -287,17 +307,17 @@ def main():
''' Main entry point for module execution
'''
ipv4addr_spec = dict(
ipv4addr=dict(required=True, aliases=['address'], ib_req=True),
configure_for_dhcp=dict(type='bool', required=False, aliases=['dhcp'], ib_req=True),
mac=dict(required=False, ib_req=True),
ipv4addr=dict(required=True, aliases=['address']),
configure_for_dhcp=dict(type='bool', required=False, aliases=['dhcp']),
mac=dict(required=False),
add=dict(type='bool', required=False),
remove=dict(type='bool', required=False)
)
ipv6addr_spec = dict(
ipv6addr=dict(required=True, aliases=['address'], ib_req=True),
configure_for_dhcp=dict(type='bool', required=False, ib_req=True),
mac=dict(required=False, ib_req=True)
ipv6addr=dict(required=True, aliases=['address']),
configure_for_dhcp=dict(type='bool', required=False),
mac=dict(required=False)
)
ib_spec = dict(
@ -307,7 +327,7 @@ def main():
ipv4addrs=dict(type='list', aliases=['ipv4'], elements='dict', options=ipv4addr_spec, transform=ipv4addrs),
ipv6addrs=dict(type='list', aliases=['ipv6'], elements='dict', options=ipv6addr_spec, transform=ipv6addrs),
configure_for_dns=dict(type='bool', default=True, required=False, aliases=['dns'], ib_req=True),
aliases=dict(type='list'),
aliases=dict(type='list', elements='str'),
ttl=dict(type='int'),
@ -320,7 +340,7 @@ def main():
state=dict(default='present', choices=['present', 'absent'])
)
argument_spec.update(ib_spec)
argument_spec.update(normalize_ib_spec(ib_spec))
argument_spec.update(WapiModule.provider_spec)
module = AnsibleModule(argument_spec=argument_spec,

View file

@ -25,6 +25,7 @@ options:
required: true
aliases:
- name
type: str
vip_setting:
description:
- Configures the network settings for the grid member.
@ -34,12 +35,15 @@ options:
address:
description:
- The IPv4 Address of the Grid Member
type: str
subnet_mask:
description:
- The subnet mask for the Grid Member
type: str
gateway:
description:
- The default gateway for the Grid Member
type: str
ipv6_setting:
description:
- Configures the IPv6 settings for the grid member.
@ -49,33 +53,42 @@ options:
virtual_ip:
description:
- The IPv6 Address of the Grid Member
type: str
cidr_prefix:
description:
- The IPv6 CIDR prefix for the Grid Member
type: int
gateway:
description:
- The gateway address for the Grid Member
type: str
config_addr_type:
description:
- Address configuration type (IPV4/IPV6/BOTH)
default: IPV4
type: str
comment:
description:
- A descriptive comment of the Grid member.
type: str
extattrs:
description:
- Extensible attributes associated with the object.
type: dict
enable_ha:
description:
- If set to True, the member has two physical nodes (HA pair).
type: bool
default: false
router_id:
description:
- Virtual router identifier. Provide this ID if "ha_enabled" is set to "true". This is a unique VRID number (from 1 to 255) for the local subnet.
type: int
lan2_enabled:
description:
- When set to "true", the LAN2 port is enabled as an independent port or as a port for failover purposes.
type: bool
default: false
lan2_port_setting:
description:
- Settings for the Grid member LAN2 port if 'lan2_enabled' is set to "true".
@ -95,12 +108,15 @@ options:
address:
description:
- The IPv4 Address of LAN2
type: str
subnet_mask:
description:
- The subnet mask of LAN2
type: str
gateway:
description:
- The default gateway of LAN2
type: str
v6_network_setting:
description:
- If the 'enable' field is set to True, this defines IPv6 network settings for LAN2.
@ -110,16 +126,20 @@ options:
virtual_ip:
description:
- The IPv6 Address of LAN2
type: str
cidr_prefix:
description:
- The IPv6 CIDR prefix of LAN2
type: int
gateway:
description:
- The gateway address of LAN2
type: str
platform:
description:
- Configures the Hardware Platform.
default: INFOBLOX
type: str
node_info:
description:
- Configures the node information list with detailed status report on the operations of the Grid Member.
@ -139,9 +159,11 @@ options:
duplex:
description:
- The port duplex; if speed is 1000, duplex must be FULL.
type: str
speed:
description:
- The port speed; if speed is 1000, duplex is FULL.
type: str
lan_ha_port_setting:
description:
- LAN/HA port settings for the node.
@ -151,6 +173,7 @@ options:
ha_ip_address:
description:
- HA IP address.
type: str
ha_port_setting:
description:
- Physical port settings for the HA interface.
@ -164,9 +187,11 @@ options:
duplex:
description:
- The port duplex; if speed is 1000, duplex must be FULL.
type: str
speed:
description:
- The port speed; if speed is 1000, duplex is FULL.
type: str
lan_port_setting:
description:
- Physical port settings for the LAN interface.
@ -180,15 +205,19 @@ options:
duplex:
description:
- The port duplex; if speed is 1000, duplex must be FULL.
type: str
speed:
description:
- The port speed; if speed is 1000, duplex is FULL.
type: str
mgmt_ipv6addr:
description:
- Public IPv6 address for the LAN1 interface.
type: str
mgmt_lan:
description:
- Public IPv4 address for the LAN1 interface.
type: str
mgmt_network_setting:
description:
- Network settings for the MGMT port of the node.
@ -198,12 +227,15 @@ options:
address:
description:
- The IPv4 Address of MGMT
type: str
subnet_mask:
description:
- The subnet mask of MGMT
type: str
gateway:
description:
- The default gateway of MGMT
type: str
v6_mgmt_network_setting:
description:
- The network settings for the IPv6 MGMT port of the node.
@ -213,12 +245,15 @@ options:
virtual_ip:
description:
- The IPv6 Address of MGMT
type: str
cidr_prefix:
description:
- The IPv6 CIDR prefix of MGMT
type: int
gateway:
description:
- The gateway address of MGMT
type: str
mgmt_port_setting:
description:
- Settings for the member MGMT port.
@ -241,6 +276,7 @@ options:
description:
- The name of the upgrade group to which this Grid member belongs.
default: Default
type: str
use_syslog_proxy_setting:
description:
- Use flag for external_syslog_server_enable , syslog_servers, syslog_proxy_setting, syslog_size
@ -258,25 +294,32 @@ options:
address:
description:
- The server address.
type: str
category_list:
description:
- The list of all syslog logging categories.
type: list
elements: str
connection_type:
description:
- The connection type for communicating with this server.(STCP/TCP?UDP)
default: UDP
type: str
local_interface:
description:
- The local interface through which the appliance sends syslog messages to the syslog server.(ANY/LAN/MGMT)
default: ANY
type: str
message_node_id:
description:
- Identify the node in the syslog message. (HOSTNAME/IP_HOSTNAME/LAN/MGMT)
default: LAN
type: str
message_source:
description:
- The source of syslog messages to be sent to the external syslog server.
default: ANY
type: str
only_category_list:
description:
- The list of selected syslog logging categories. The appliance forwards syslog messages that belong to the selected categories.
@ -285,10 +328,12 @@ options:
description:
- The port this server listens on.
default: 514
type: int
severity:
description:
- The severity filter. The appliance sends log messages of the specified severity and above to the external syslog server.
default: DEBUG
type: str
pre_provisioning:
description:
- Pre-provisioning information.
@ -304,12 +349,16 @@ options:
hwmodel:
description:
- Hardware model
type: str
hwtype:
description:
- Hardware type.
type: str
licenses:
description:
- An array of license types.
type: list
elements: str
create_token:
description:
- Flag for initiating a create token request for pre-provisioned members.
@ -325,6 +374,7 @@ options:
choices:
- present
- absent
type: str
'''
EXAMPLES = '''
@ -402,9 +452,9 @@ EXAMPLES = '''
RETURN = ''' # '''
from ansible.module_utils.basic import AnsibleModule
from ansible.module_utils.six import iteritems
from ansible_collections.community.general.plugins.module_utils.net_tools.nios.api import WapiModule
from ansible_collections.community.general.plugins.module_utils.net_tools.nios.api import NIOS_MEMBER
from ansible_collections.community.general.plugins.module_utils.net_tools.nios.api import normalize_ib_spec
def main():
@ -457,7 +507,7 @@ def main():
syslog_spec = dict(
address=dict(),
category_list=dict(type='list'),
category_list=dict(type='list', elements='str'),
connection_type=dict(default='UDP'),
local_interface=dict(default='ANY'),
message_node_id=dict(default='LAN'),
@ -474,7 +524,7 @@ def main():
pre_prov_spec = dict(
hardware_info=dict(type='list', elements='dict', options=hw_spec),
licenses=dict(type='list'),
licenses=dict(type='list', elements='str'),
)
ib_spec = dict(
@ -504,7 +554,7 @@ def main():
state=dict(default='present', choices=['present', 'absent'])
)
argument_spec.update(ib_spec)
argument_spec.update(normalize_ib_spec(ib_spec))
argument_spec.update(WapiModule.provider_spec)
module = AnsibleModule(argument_spec=argument_spec,

View file

@ -25,6 +25,7 @@ options:
- Specifies the fully qualified hostname to add or remove from
the system
required: true
type: str
view:
description:
- Sets the DNS view to associate this a record with. The DNS
@ -32,27 +33,33 @@ options:
default: default
aliases:
- dns_view
type: str
mail_exchanger:
description:
- Configures the mail exchanger FQDN for this MX record.
aliases:
- mx
type: str
preference:
description:
- Configures the preference (0-65535) for this MX record.
type: int
ttl:
description:
- Configures the TTL to be associated with this host record
type: int
extattrs:
description:
- Allows for the configuration of Extensible Attributes on the
instance of the object. This argument accepts a set of key / value
pairs for configuration.
type: dict
comment:
description:
- Configures a text string comment to be associated with the instance
of this object. The provided text string will be configured on the
object instance.
type: str
state:
description:
- Configures the intended state of the instance of the object on
@ -63,6 +70,7 @@ options:
choices:
- present
- absent
type: str
'''
EXAMPLES = '''
@ -107,9 +115,9 @@ EXAMPLES = '''
RETURN = ''' # '''
from ansible.module_utils.basic import AnsibleModule
from ansible.module_utils.six import iteritems
from ansible_collections.community.general.plugins.module_utils.net_tools.nios.api import WapiModule
from ansible_collections.community.general.plugins.module_utils.net_tools.nios.api import NIOS_MX_RECORD
from ansible_collections.community.general.plugins.module_utils.net_tools.nios.api import normalize_ib_spec
def main():
@ -134,7 +142,7 @@ def main():
state=dict(default='present', choices=['present', 'absent'])
)
argument_spec.update(ib_spec)
argument_spec.update(normalize_ib_spec(ib_spec))
argument_spec.update(WapiModule.provider_spec)
module = AnsibleModule(argument_spec=argument_spec,

View file

@ -25,6 +25,7 @@ options:
- Specifies the fully qualified hostname to add or remove from
the system
required: true
type: str
view:
description:
- Sets the DNS view to associate this a record with. The DNS
@ -32,33 +33,39 @@ options:
default: default
aliases:
- dns_view
type: str
order:
description:
- Configures the order (0-65535) for this NAPTR record. This parameter
specifies the order in which the NAPTR rules are applied when
multiple rules are present.
type: int
preference:
description:
- Configures the preference (0-65535) for this NAPTR record. The
preference field determines the order NAPTR records are processed
when multiple records with the same order parameter are present.
type: int
replacement:
description:
- Configures the replacement field for this NAPTR record.
For nonterminal NAPTR records, this field specifies the
next domain name to look up.
type: str
services:
description:
- Configures the services field (128 characters maximum) for this
NAPTR record. The services field contains protocol and service
identifiers, such as "http+E2U" or "SIPS+D2T".
required: false
type: str
flags:
description:
- Configures the flags field for this NAPTR record. These control the
interpretation of the fields for an NAPTR record object. Supported
values for the flags field are "U", "S", "P" and "A".
required: false
type: str
regexp:
description:
- Configures the regexp field for this NAPTR record. This is the
@ -67,19 +74,23 @@ options:
substitution rule and flags. Refer to RFC 2915 for the field syntax
details.
required: false
type: str
ttl:
description:
- Configures the TTL to be associated with this NAPTR record
type: int
extattrs:
description:
- Allows for the configuration of Extensible Attributes on the
instance of the object. This argument accepts a set of key / value
pairs for configuration.
type: dict
comment:
description:
- Configures a text string comment to be associated with the instance
of this object. The provided text string will be configured on the
object instance.
type: str
state:
description:
- Configures the intended state of the instance of the object on
@ -90,6 +101,7 @@ options:
choices:
- present
- absent
type: str
'''
EXAMPLES = '''
@ -137,8 +149,8 @@ EXAMPLES = '''
RETURN = ''' # '''
from ansible.module_utils.basic import AnsibleModule
from ansible.module_utils.six import iteritems
from ansible_collections.community.general.plugins.module_utils.net_tools.nios.api import WapiModule
from ansible_collections.community.general.plugins.module_utils.net_tools.nios.api import normalize_ib_spec
def main():
@ -167,7 +179,7 @@ def main():
state=dict(default='present', choices=['present', 'absent'])
)
argument_spec.update(ib_spec)
argument_spec.update(normalize_ib_spec(ib_spec))
argument_spec.update(WapiModule.provider_spec)
module = AnsibleModule(argument_spec=argument_spec,

View file

@ -29,12 +29,13 @@ options:
aliases:
- name
- cidr
type: str
network_view:
description:
- Configures the name of the network view to associate with this
configured instance.
required: true
default: default
type: str
options:
description:
- Configures the set of DHCP options to be included as part of
@ -50,13 +51,16 @@ options:
C(router), C(router-templates), C(domain-name-servers), C(domain-name),
C(broadcast-address), C(broadcast-address-offset), C(dhcp-lease-time),
and C(dhcp6.name-servers).
type: str
num:
description:
- The number of the DHCP option to configure
type: int
value:
description:
- The value of the DHCP option specified by C(name)
required: true
type: str
use_option:
description:
- Only applies to a subset of options (see NIOS API documentation)
@ -66,16 +70,19 @@ options:
description:
- The name of the space this DHCP option is associated to
default: DHCP
type: str
extattrs:
description:
- Allows for the configuration of Extensible Attributes on the
instance of the object. This argument accepts a set of key / value
pairs for configuration.
type: dict
comment:
description:
- Configures a text string comment to be associated with the instance
of this object. The provided text string will be configured on the
object instance.
type: str
container:
description:
- If set to true it'll create the network container to be added or removed
@ -91,6 +98,7 @@ options:
choices:
- present
- absent
type: str
'''
EXAMPLES = '''
@ -180,6 +188,7 @@ from ansible.module_utils.six import iteritems
from ansible_collections.community.general.plugins.module_utils.net_tools.nios.api import WapiModule
from ansible_collections.community.general.plugins.module_utils.net_tools.nios.api import NIOS_IPV4_NETWORK, NIOS_IPV6_NETWORK
from ansible_collections.community.general.plugins.module_utils.net_tools.nios.api import NIOS_IPV4_NETWORK_CONTAINER, NIOS_IPV6_NETWORK_CONTAINER
from ansible_collections.community.general.plugins.module_utils.net_tools.nios.api import normalize_ib_spec
# The following function validate_ip_address has been taken from
@ -297,7 +306,7 @@ def main():
state=dict(default='present', choices=['present', 'absent'])
)
argument_spec.update(ib_spec)
argument_spec.update(normalize_ib_spec(ib_spec))
argument_spec.update(WapiModule.provider_spec)
module = AnsibleModule(argument_spec=argument_spec,

View file

@ -29,16 +29,19 @@ options:
required: true
aliases:
- network_view
type: str
extattrs:
description:
- Allows for the configuration of Extensible Attributes on the
instance of the object. This argument accepts a set of key / value
pairs for configuration.
type: dict
comment:
description:
- Configures a text string comment to be associated with the instance
of this object. The provided text string will be configured on the
object instance.
type: str
state:
description:
- Configures the intended state of the instance of the object on
@ -49,6 +52,7 @@ options:
choices:
- present
- absent
type: str
'''
EXAMPLES = '''
@ -96,6 +100,7 @@ RETURN = ''' # '''
from ansible.module_utils.basic import AnsibleModule
from ansible_collections.community.general.plugins.module_utils.net_tools.nios.api import WapiModule
from ansible_collections.community.general.plugins.module_utils.net_tools.nios.api import NIOS_NETWORK_VIEW
from ansible_collections.community.general.plugins.module_utils.net_tools.nios.api import normalize_ib_spec
def main():
@ -112,7 +117,7 @@ def main():
state=dict(default='present', choices=['present', 'absent'])
)
argument_spec.update(ib_spec)
argument_spec.update(normalize_ib_spec(ib_spec))
argument_spec.update(WapiModule.provider_spec)
module = AnsibleModule(argument_spec=argument_spec,

View file

@ -27,6 +27,7 @@ options:
description:
- Specifies the name of the NIOS nameserver group to be managed.
required: true
type: str
grid_primary:
description:
- This host is to be used as primary server in this nameserver group. It must be a grid member.
@ -38,6 +39,7 @@ options:
description:
- Provide the name of the grid member to identify the host.
required: true
type: str
enable_preferred_primaries:
description:
- This flag represents whether the preferred_primaries field values of this member are used (see Infoblox WAPI docs).
@ -63,6 +65,37 @@ options:
- Provide a list of elements like in I(external_primaries) to set the precedence of preferred primary nameservers.
type: list
elements: dict
suboptions:
address:
description:
- Configures the IP address of the preferred primary nameserver.
required: true
type: str
name:
description:
- Set a label for the preferred primary nameserver.
required: true
type: str
stealth:
description:
- Configure the preferred primary nameserver as stealth server (without NS record) in the zones.
type: bool
default: false
tsig_key_name:
description:
- Sets a label for the I(tsig_key) value.
required: true
type: str
tsig_key_alg:
description:
- Provides the algorithm used for the I(tsig_key) in use.
choices: ['HMAC-MD5', 'HMAC-SHA256']
default: 'HMAC-MD5'
type: str
tsig_key:
description:
- Set a DNS TSIG key for the nameserver to secure zone transfers (AFXRs).
type: str
grid_secondaries:
description:
- Configures the list of grid member hosts that act as secondary nameservers.
@ -74,6 +107,7 @@ options:
description:
- Provide the name of the grid member to identify the host.
required: true
type: str
enable_preferred_primaries:
description:
- This flag represents whether the preferred_primaries field values of this member are used (see Infoblox WAPI docs).
@ -99,6 +133,37 @@ options:
- Provide a list of elements like in I(external_primaries) to set the precedence of preferred primary nameservers.
type: list
elements: dict
suboptions:
address:
description:
- Configures the IP address of the preferred primary nameserver.
required: true
type: str
name:
description:
- Set a label for the preferred primary nameserver.
required: true
type: str
stealth:
description:
- Configure the preferred primary nameserver as stealth server (without NS record) in the zones.
type: bool
default: false
tsig_key_name:
description:
- Sets a label for the I(tsig_key) value.
type: str
required: true
tsig_key_alg:
description:
- Provides the algorithm used for the I(tsig_key) in use.
choices: ['HMAC-MD5', 'HMAC-SHA256']
default: 'HMAC-MD5'
type: str
tsig_key:
description:
- Set a DNS TSIG key for the nameserver to secure zone transfers (AFXRs).
type: str
is_grid_default:
description:
- If set to C(True) this nsgroup will become the default nameserver group for new zones.
@ -123,10 +188,12 @@ options:
description:
- Configures the IP address of the external nameserver
required: true
type: str
name:
description:
- Set a label for the external nameserver
required: true
type: str
stealth:
description:
- Configure the external nameserver as stealth server (without NS record) in the zones.
@ -135,14 +202,18 @@ options:
tsig_key_name:
description:
- Sets a label for the I(tsig_key) value
type: str
required: true
tsig_key_alg:
description:
- Provides the algorithm used for the I(tsig_key) in use.
choices: ['HMAC-MD5', 'HMAC-SHA256']
default: 'HMAC-MD5'
type: str
tsig_key:
description:
- Set a DNS TSIG key for the nameserver to secure zone transfers (AFXRs).
type: str
required: false
external_secondaries:
description:
@ -154,10 +225,12 @@ options:
description:
- Configures the IP address of the external nameserver
required: true
type: str
name:
description:
- Set a label for the external nameserver
required: true
type: str
stealth:
description:
- Configure the external nameserver as stealth server (without NS record) in the zones.
@ -166,26 +239,32 @@ options:
tsig_key_name:
description:
- Sets a label for the I(tsig_key) value
type: str
required: true
tsig_key_alg:
description:
- Provides the algorithm used for the I(tsig_key) in use.
choices: ['HMAC-MD5', 'HMAC-SHA256']
default: 'HMAC-MD5'
type: str
tsig_key:
description:
- Set a DNS TSIG key for the nameserver to secure zone transfers (AFXRs).
type: str
extattrs:
description:
- Allows for the configuration of Extensible Attributes on the
instance of the object. This argument accepts a set of key / value
pairs for configuration.
required: false
type: str
comment:
description:
- Configures a text string comment to be associated with the instance
of this object. The provided text string will be configured on the
object instance.
required: false
type: str
state:
description:
- Configures the intended state of the instance of the object on
@ -194,7 +273,8 @@ options:
the value is removed (if necessary) from the device.
choices: [present, absent]
default: present
'''
type: str
'''
EXAMPLES = '''
- name: Create simple infoblox nameserver group
@ -246,6 +326,7 @@ RETURN = ''' # '''
from ansible.module_utils.basic import AnsibleModule
from ansible_collections.community.general.plugins.module_utils.net_tools.nios.api import WapiModule
from ansible_collections.community.general.plugins.module_utils.net_tools.nios.api import NIOS_NSGROUP
from ansible_collections.community.general.plugins.module_utils.net_tools.nios.api import normalize_ib_spec
# from infoblox documentation
@ -314,8 +395,8 @@ def main():
return module.params['grid_secondaries']
extserver_spec = dict(
address=dict(required=True, ib_req=True),
name=dict(required=True, ib_req=True),
address=dict(required=True),
name=dict(required=True),
stealth=dict(type='bool', default=False),
tsig_key=dict(),
tsig_key_alg=dict(choices=['HMAC-MD5', 'HMAC-SHA256'], default='HMAC-MD5'),
@ -323,7 +404,7 @@ def main():
)
memberserver_spec = dict(
name=dict(required=True, ib_req=True),
name=dict(required=True, ),
enable_preferred_primaries=dict(type='bool', default=False),
grid_replicate=dict(type='bool', default=False),
lead=dict(type='bool', default=False),
@ -346,7 +427,7 @@ def main():
comment=dict(),
)
argument_spec.update(ib_spec)
argument_spec.update(normalize_ib_spec(ib_spec))
argument_spec.update(WapiModule.provider_spec)
module = AnsibleModule(argument_spec=argument_spec, supports_check_mode=True)

View file

@ -27,6 +27,7 @@ options:
the system.
The field is required only for an PTR object in Forward Mapping Zone.
required: false
type: str
view:
description:
- Sets the DNS view to associate this a record with. The DNS
@ -34,34 +35,41 @@ options:
required: false
aliases:
- dns_view
type: str
ipv4addr:
description:
- The IPv4 Address of the record. Mutually exclusive with the ipv6addr.
aliases:
- ipv4
type: str
ipv6addr:
description:
- The IPv6 Address of the record. Mutually exclusive with the ipv4addr.
aliases:
- ipv6
type: str
ptrdname:
description:
- The domain name of the DNS PTR record in FQDN format.
type: str
ttl:
description:
- Time To Live (TTL) value for the record.
A 32-bit unsigned integer that represents the duration, in seconds, that the record is valid (cached).
Zero indicates that the record should not be cached.
type: int
extattrs:
description:
- Allows for the configuration of Extensible Attributes on the
instance of the object. This argument accepts a set of key / value
pairs for configuration.
type: dict
comment:
description:
- Configures a text string comment to be associated with the instance
of this object. The provided text string will be configured on the
object instance. Maximum 256 characters.
type: str
state:
description:
- Configures the intended state of the instance of the object on
@ -72,6 +80,7 @@ options:
choices:
- present
- absent
type: str
'''
EXAMPLES = '''
@ -103,6 +112,7 @@ RETURN = ''' # '''
from ansible.module_utils.basic import AnsibleModule
from ansible_collections.community.general.plugins.module_utils.net_tools.nios.api import WapiModule
from ansible_collections.community.general.plugins.module_utils.net_tools.nios.api import NIOS_PTR_RECORD
from ansible_collections.community.general.plugins.module_utils.net_tools.nios.api import normalize_ib_spec
def main():
@ -125,7 +135,7 @@ def main():
state=dict(default='present', choices=['present', 'absent'])
)
argument_spec.update(ib_spec)
argument_spec.update(normalize_ib_spec(ib_spec))
argument_spec.update(WapiModule.provider_spec)
mutually_exclusive = [('ipv4addr', 'ipv6addr')]

View file

@ -25,6 +25,7 @@ options:
- Specifies the fully qualified hostname to add or remove from
the system
required: true
type: str
view:
description:
- Sets the DNS view to associate this a record with. The DNS
@ -32,31 +33,39 @@ options:
default: default
aliases:
- dns_view
type: str
port:
description:
- Configures the port (0-65535) of this SRV record.
type: int
priority:
description:
- Configures the priority (0-65535) for this SRV record.
type: int
target:
description:
- Configures the target FQDN for this SRV record.
type: str
weight:
description:
- Configures the weight (0-65535) for this SRV record.
type: int
ttl:
description:
- Configures the TTL to be associated with this host record
type: int
extattrs:
description:
- Allows for the configuration of Extensible Attributes on the
instance of the object. This argument accepts a set of key / value
pairs for configuration.
type: dict
comment:
description:
- Configures a text string comment to be associated with the instance
of this object. The provided text string will be configured on the
object instance.
type: str
state:
description:
- Configures the intended state of the instance of the object on
@ -67,6 +76,7 @@ options:
choices:
- present
- absent
type: str
'''
EXAMPLES = '''
@ -117,9 +127,9 @@ EXAMPLES = '''
RETURN = ''' # '''
from ansible.module_utils.basic import AnsibleModule
from ansible.module_utils.six import iteritems
from ansible_collections.community.general.plugins.module_utils.net_tools.nios.api import WapiModule
from ansible_collections.community.general.plugins.module_utils.net_tools.nios.api import NIOS_SRV_RECORD
from ansible_collections.community.general.plugins.module_utils.net_tools.nios.api import normalize_ib_spec
def main():
@ -146,7 +156,7 @@ def main():
state=dict(default='present', choices=['present', 'absent'])
)
argument_spec.update(ib_spec)
argument_spec.update(normalize_ib_spec(ib_spec))
argument_spec.update(WapiModule.provider_spec)
module = AnsibleModule(argument_spec=argument_spec,

View file

@ -25,6 +25,7 @@ options:
- Specifies the fully qualified hostname to add or remove from
the system
required: true
type: str
view:
description:
- Sets the DNS view to associate this tst record with. The DNS
@ -32,25 +33,30 @@ options:
default: default
aliases:
- dns_view
type: str
text:
description:
- Text associated with the record. It can contain up to 255 bytes
per substring, up to a total of 512 bytes. To enter leading,
trailing, or embedded spaces in the text, add quotes around the
text to preserve the spaces.
type: str
ttl:
description:
- Configures the TTL to be associated with this tst record
type: int
extattrs:
description:
- Allows for the configuration of Extensible Attributes on the
instance of the object. This argument accepts a set of key / value
pairs for configuration.
type: dict
comment:
description:
- Configures a text string comment to be associated with the instance
of this object. The provided text string will be configured on the
object instance.
type: str
state:
description:
- Configures the intended state of the instance of the object on
@ -61,6 +67,7 @@ options:
choices:
- present
- absent
type: str
'''
EXAMPLES = '''
@ -90,8 +97,8 @@ EXAMPLES = '''
RETURN = ''' # '''
from ansible.module_utils.basic import AnsibleModule
from ansible.module_utils.six import iteritems
from ansible_collections.community.general.plugins.module_utils.net_tools.nios.api import WapiModule
from ansible_collections.community.general.plugins.module_utils.net_tools.nios.api import normalize_ib_spec
def main():
@ -112,7 +119,7 @@ def main():
state=dict(default='present', choices=['present', 'absent'])
)
argument_spec.update(ib_spec)
argument_spec.update(normalize_ib_spec(ib_spec))
argument_spec.update(WapiModule.provider_spec)
module = AnsibleModule(argument_spec=argument_spec,

View file

@ -27,6 +27,7 @@ options:
required: true
aliases:
- name
type: str
view:
description:
- Configures the DNS view name for the configured resource. The
@ -35,6 +36,7 @@ options:
default: default
aliases:
- dns_view
type: str
grid_primary:
description:
- Configures the grid primary servers for this zone.
@ -45,6 +47,7 @@ options:
description:
- The name of the grid primary server
required: true
type: str
grid_secondaries:
description:
- Configures the grid secondary servers for this zone.
@ -55,10 +58,12 @@ options:
description:
- The name of the grid secondary server
required: true
type: str
ns_group:
description:
- Configures the name server group for this zone. Name server group is
mutually exclusive with grid primary and grid secondaries.
type: str
restart_if_needed:
description:
- If set to true, causes the NIOS DNS service to restart and load the
@ -71,16 +76,19 @@ options:
responsibility to respond to address-to-name queries. It supports
reverse-mapping zones for both IPv4 and IPv6 addresses.
default: FORWARD
type: str
extattrs:
description:
- Allows for the configuration of Extensible Attributes on the
instance of the object. This argument accepts a set of key / value
pairs for configuration.
type: dict
comment:
description:
- Configures a text string comment to be associated with the instance
of this object. The provided text string will be configured on the
object instance.
type: str
state:
description:
- Configures the intended state of the instance of the object on
@ -91,6 +99,7 @@ options:
choices:
- present
- absent
type: str
'''
EXAMPLES = '''
@ -178,6 +187,7 @@ RETURN = ''' # '''
from ansible.module_utils.basic import AnsibleModule
from ansible_collections.community.general.plugins.module_utils.net_tools.nios.api import WapiModule
from ansible_collections.community.general.plugins.module_utils.net_tools.nios.api import NIOS_ZONE
from ansible_collections.community.general.plugins.module_utils.net_tools.nios.api import normalize_ib_spec
def main():
@ -206,7 +216,7 @@ def main():
state=dict(default='present', choices=['present', 'absent'])
)
argument_spec.update(ib_spec)
argument_spec.update(normalize_ib_spec(ib_spec))
argument_spec.update(WapiModule.provider_spec)
module = AnsibleModule(argument_spec=argument_spec,

View file

@ -206,92 +206,6 @@ plugins/modules/net_tools/ldap/ldap_attr.py validate-modules:undocumented-parame
plugins/modules/net_tools/ldap/ldap_entry.py validate-modules:doc-missing-type
plugins/modules/net_tools/ldap/ldap_entry.py validate-modules:parameter-type-not-in-doc
plugins/modules/net_tools/ldap/ldap_entry.py validate-modules:undocumented-parameter # Parameter removed but reason for removal is shown by custom code
plugins/modules/net_tools/nios/nios_a_record.py validate-modules:doc-default-does-not-match-spec
plugins/modules/net_tools/nios/nios_a_record.py validate-modules:doc-missing-type
plugins/modules/net_tools/nios/nios_a_record.py validate-modules:invalid-ansiblemodule-schema
plugins/modules/net_tools/nios/nios_a_record.py validate-modules:parameter-type-not-in-doc
plugins/modules/net_tools/nios/nios_a_record.py validate-modules:undocumented-parameter
plugins/modules/net_tools/nios/nios_aaaa_record.py validate-modules:doc-default-does-not-match-spec
plugins/modules/net_tools/nios/nios_aaaa_record.py validate-modules:doc-missing-type
plugins/modules/net_tools/nios/nios_aaaa_record.py validate-modules:invalid-ansiblemodule-schema
plugins/modules/net_tools/nios/nios_aaaa_record.py validate-modules:parameter-type-not-in-doc
plugins/modules/net_tools/nios/nios_aaaa_record.py validate-modules:undocumented-parameter
plugins/modules/net_tools/nios/nios_cname_record.py validate-modules:doc-default-does-not-match-spec
plugins/modules/net_tools/nios/nios_cname_record.py validate-modules:doc-missing-type
plugins/modules/net_tools/nios/nios_cname_record.py validate-modules:invalid-ansiblemodule-schema
plugins/modules/net_tools/nios/nios_cname_record.py validate-modules:parameter-type-not-in-doc
plugins/modules/net_tools/nios/nios_cname_record.py validate-modules:undocumented-parameter
plugins/modules/net_tools/nios/nios_dns_view.py validate-modules:doc-default-does-not-match-spec
plugins/modules/net_tools/nios/nios_dns_view.py validate-modules:doc-missing-type
plugins/modules/net_tools/nios/nios_dns_view.py validate-modules:invalid-ansiblemodule-schema
plugins/modules/net_tools/nios/nios_dns_view.py validate-modules:parameter-type-not-in-doc
plugins/modules/net_tools/nios/nios_dns_view.py validate-modules:undocumented-parameter
plugins/modules/net_tools/nios/nios_fixed_address.py validate-modules:doc-default-does-not-match-spec
plugins/modules/net_tools/nios/nios_fixed_address.py validate-modules:doc-missing-type
plugins/modules/net_tools/nios/nios_fixed_address.py validate-modules:invalid-ansiblemodule-schema
plugins/modules/net_tools/nios/nios_fixed_address.py validate-modules:parameter-type-not-in-doc
plugins/modules/net_tools/nios/nios_fixed_address.py validate-modules:undocumented-parameter
plugins/modules/net_tools/nios/nios_host_record.py validate-modules:doc-default-does-not-match-spec
plugins/modules/net_tools/nios/nios_host_record.py validate-modules:doc-missing-type
plugins/modules/net_tools/nios/nios_host_record.py validate-modules:invalid-ansiblemodule-schema
plugins/modules/net_tools/nios/nios_host_record.py validate-modules:parameter-list-no-elements
plugins/modules/net_tools/nios/nios_host_record.py validate-modules:parameter-type-not-in-doc
plugins/modules/net_tools/nios/nios_host_record.py validate-modules:undocumented-parameter
plugins/modules/net_tools/nios/nios_member.py validate-modules:doc-default-does-not-match-spec
plugins/modules/net_tools/nios/nios_member.py validate-modules:doc-missing-type
plugins/modules/net_tools/nios/nios_member.py validate-modules:invalid-ansiblemodule-schema
plugins/modules/net_tools/nios/nios_member.py validate-modules:parameter-list-no-elements
plugins/modules/net_tools/nios/nios_member.py validate-modules:parameter-type-not-in-doc
plugins/modules/net_tools/nios/nios_member.py validate-modules:undocumented-parameter
plugins/modules/net_tools/nios/nios_mx_record.py validate-modules:doc-default-does-not-match-spec
plugins/modules/net_tools/nios/nios_mx_record.py validate-modules:doc-missing-type
plugins/modules/net_tools/nios/nios_mx_record.py validate-modules:invalid-ansiblemodule-schema
plugins/modules/net_tools/nios/nios_mx_record.py validate-modules:parameter-type-not-in-doc
plugins/modules/net_tools/nios/nios_mx_record.py validate-modules:undocumented-parameter
plugins/modules/net_tools/nios/nios_naptr_record.py validate-modules:doc-default-does-not-match-spec
plugins/modules/net_tools/nios/nios_naptr_record.py validate-modules:doc-missing-type
plugins/modules/net_tools/nios/nios_naptr_record.py validate-modules:invalid-ansiblemodule-schema
plugins/modules/net_tools/nios/nios_naptr_record.py validate-modules:parameter-type-not-in-doc
plugins/modules/net_tools/nios/nios_naptr_record.py validate-modules:undocumented-parameter
plugins/modules/net_tools/nios/nios_network.py validate-modules:doc-default-does-not-match-spec
plugins/modules/net_tools/nios/nios_network.py validate-modules:doc-missing-type
plugins/modules/net_tools/nios/nios_network.py validate-modules:doc-required-mismatch
plugins/modules/net_tools/nios/nios_network.py validate-modules:invalid-ansiblemodule-schema
plugins/modules/net_tools/nios/nios_network.py validate-modules:parameter-type-not-in-doc
plugins/modules/net_tools/nios/nios_network.py validate-modules:undocumented-parameter
plugins/modules/net_tools/nios/nios_network_view.py validate-modules:doc-default-does-not-match-spec
plugins/modules/net_tools/nios/nios_network_view.py validate-modules:doc-missing-type
plugins/modules/net_tools/nios/nios_network_view.py validate-modules:invalid-ansiblemodule-schema
plugins/modules/net_tools/nios/nios_network_view.py validate-modules:parameter-type-not-in-doc
plugins/modules/net_tools/nios/nios_network_view.py validate-modules:undocumented-parameter
plugins/modules/net_tools/nios/nios_nsgroup.py validate-modules:doc-choices-do-not-match-spec
plugins/modules/net_tools/nios/nios_nsgroup.py validate-modules:doc-default-does-not-match-spec
plugins/modules/net_tools/nios/nios_nsgroup.py validate-modules:doc-missing-type
plugins/modules/net_tools/nios/nios_nsgroup.py validate-modules:doc-required-mismatch
plugins/modules/net_tools/nios/nios_nsgroup.py validate-modules:invalid-ansiblemodule-schema
plugins/modules/net_tools/nios/nios_nsgroup.py validate-modules:missing-suboption-docs
plugins/modules/net_tools/nios/nios_nsgroup.py validate-modules:parameter-type-not-in-doc
plugins/modules/net_tools/nios/nios_nsgroup.py validate-modules:undocumented-parameter
plugins/modules/net_tools/nios/nios_ptr_record.py validate-modules:doc-default-does-not-match-spec
plugins/modules/net_tools/nios/nios_ptr_record.py validate-modules:doc-missing-type
plugins/modules/net_tools/nios/nios_ptr_record.py validate-modules:invalid-ansiblemodule-schema
plugins/modules/net_tools/nios/nios_ptr_record.py validate-modules:parameter-type-not-in-doc
plugins/modules/net_tools/nios/nios_ptr_record.py validate-modules:undocumented-parameter
plugins/modules/net_tools/nios/nios_srv_record.py validate-modules:doc-default-does-not-match-spec
plugins/modules/net_tools/nios/nios_srv_record.py validate-modules:doc-missing-type
plugins/modules/net_tools/nios/nios_srv_record.py validate-modules:invalid-ansiblemodule-schema
plugins/modules/net_tools/nios/nios_srv_record.py validate-modules:parameter-type-not-in-doc
plugins/modules/net_tools/nios/nios_srv_record.py validate-modules:undocumented-parameter
plugins/modules/net_tools/nios/nios_txt_record.py validate-modules:doc-default-does-not-match-spec
plugins/modules/net_tools/nios/nios_txt_record.py validate-modules:doc-missing-type
plugins/modules/net_tools/nios/nios_txt_record.py validate-modules:invalid-ansiblemodule-schema
plugins/modules/net_tools/nios/nios_txt_record.py validate-modules:parameter-type-not-in-doc
plugins/modules/net_tools/nios/nios_txt_record.py validate-modules:undocumented-parameter
plugins/modules/net_tools/nios/nios_zone.py validate-modules:doc-default-does-not-match-spec
plugins/modules/net_tools/nios/nios_zone.py validate-modules:doc-missing-type
plugins/modules/net_tools/nios/nios_zone.py validate-modules:invalid-ansiblemodule-schema
plugins/modules/net_tools/nios/nios_zone.py validate-modules:parameter-type-not-in-doc
plugins/modules/net_tools/nios/nios_zone.py validate-modules:undocumented-parameter
plugins/modules/net_tools/nsupdate.py validate-modules:parameter-list-no-elements
plugins/modules/net_tools/nsupdate.py validate-modules:parameter-type-not-in-doc
plugins/modules/net_tools/omapi_host.py validate-modules:parameter-list-no-elements

View file

@ -206,92 +206,6 @@ plugins/modules/net_tools/ldap/ldap_attr.py validate-modules:undocumented-parame
plugins/modules/net_tools/ldap/ldap_entry.py validate-modules:doc-missing-type
plugins/modules/net_tools/ldap/ldap_entry.py validate-modules:parameter-type-not-in-doc
plugins/modules/net_tools/ldap/ldap_entry.py validate-modules:undocumented-parameter # Parameter removed but reason for removal is shown by custom code
plugins/modules/net_tools/nios/nios_a_record.py validate-modules:doc-default-does-not-match-spec
plugins/modules/net_tools/nios/nios_a_record.py validate-modules:doc-missing-type
plugins/modules/net_tools/nios/nios_a_record.py validate-modules:invalid-ansiblemodule-schema
plugins/modules/net_tools/nios/nios_a_record.py validate-modules:parameter-type-not-in-doc
plugins/modules/net_tools/nios/nios_a_record.py validate-modules:undocumented-parameter
plugins/modules/net_tools/nios/nios_aaaa_record.py validate-modules:doc-default-does-not-match-spec
plugins/modules/net_tools/nios/nios_aaaa_record.py validate-modules:doc-missing-type
plugins/modules/net_tools/nios/nios_aaaa_record.py validate-modules:invalid-ansiblemodule-schema
plugins/modules/net_tools/nios/nios_aaaa_record.py validate-modules:parameter-type-not-in-doc
plugins/modules/net_tools/nios/nios_aaaa_record.py validate-modules:undocumented-parameter
plugins/modules/net_tools/nios/nios_cname_record.py validate-modules:doc-default-does-not-match-spec
plugins/modules/net_tools/nios/nios_cname_record.py validate-modules:doc-missing-type
plugins/modules/net_tools/nios/nios_cname_record.py validate-modules:invalid-ansiblemodule-schema
plugins/modules/net_tools/nios/nios_cname_record.py validate-modules:parameter-type-not-in-doc
plugins/modules/net_tools/nios/nios_cname_record.py validate-modules:undocumented-parameter
plugins/modules/net_tools/nios/nios_dns_view.py validate-modules:doc-default-does-not-match-spec
plugins/modules/net_tools/nios/nios_dns_view.py validate-modules:doc-missing-type
plugins/modules/net_tools/nios/nios_dns_view.py validate-modules:invalid-ansiblemodule-schema
plugins/modules/net_tools/nios/nios_dns_view.py validate-modules:parameter-type-not-in-doc
plugins/modules/net_tools/nios/nios_dns_view.py validate-modules:undocumented-parameter
plugins/modules/net_tools/nios/nios_fixed_address.py validate-modules:doc-default-does-not-match-spec
plugins/modules/net_tools/nios/nios_fixed_address.py validate-modules:doc-missing-type
plugins/modules/net_tools/nios/nios_fixed_address.py validate-modules:invalid-ansiblemodule-schema
plugins/modules/net_tools/nios/nios_fixed_address.py validate-modules:parameter-type-not-in-doc
plugins/modules/net_tools/nios/nios_fixed_address.py validate-modules:undocumented-parameter
plugins/modules/net_tools/nios/nios_host_record.py validate-modules:doc-default-does-not-match-spec
plugins/modules/net_tools/nios/nios_host_record.py validate-modules:doc-missing-type
plugins/modules/net_tools/nios/nios_host_record.py validate-modules:invalid-ansiblemodule-schema
plugins/modules/net_tools/nios/nios_host_record.py validate-modules:parameter-list-no-elements
plugins/modules/net_tools/nios/nios_host_record.py validate-modules:parameter-type-not-in-doc
plugins/modules/net_tools/nios/nios_host_record.py validate-modules:undocumented-parameter
plugins/modules/net_tools/nios/nios_member.py validate-modules:doc-default-does-not-match-spec
plugins/modules/net_tools/nios/nios_member.py validate-modules:doc-missing-type
plugins/modules/net_tools/nios/nios_member.py validate-modules:invalid-ansiblemodule-schema
plugins/modules/net_tools/nios/nios_member.py validate-modules:parameter-list-no-elements
plugins/modules/net_tools/nios/nios_member.py validate-modules:parameter-type-not-in-doc
plugins/modules/net_tools/nios/nios_member.py validate-modules:undocumented-parameter
plugins/modules/net_tools/nios/nios_mx_record.py validate-modules:doc-default-does-not-match-spec
plugins/modules/net_tools/nios/nios_mx_record.py validate-modules:doc-missing-type
plugins/modules/net_tools/nios/nios_mx_record.py validate-modules:invalid-ansiblemodule-schema
plugins/modules/net_tools/nios/nios_mx_record.py validate-modules:parameter-type-not-in-doc
plugins/modules/net_tools/nios/nios_mx_record.py validate-modules:undocumented-parameter
plugins/modules/net_tools/nios/nios_naptr_record.py validate-modules:doc-default-does-not-match-spec
plugins/modules/net_tools/nios/nios_naptr_record.py validate-modules:doc-missing-type
plugins/modules/net_tools/nios/nios_naptr_record.py validate-modules:invalid-ansiblemodule-schema
plugins/modules/net_tools/nios/nios_naptr_record.py validate-modules:parameter-type-not-in-doc
plugins/modules/net_tools/nios/nios_naptr_record.py validate-modules:undocumented-parameter
plugins/modules/net_tools/nios/nios_network.py validate-modules:doc-default-does-not-match-spec
plugins/modules/net_tools/nios/nios_network.py validate-modules:doc-missing-type
plugins/modules/net_tools/nios/nios_network.py validate-modules:doc-required-mismatch
plugins/modules/net_tools/nios/nios_network.py validate-modules:invalid-ansiblemodule-schema
plugins/modules/net_tools/nios/nios_network.py validate-modules:parameter-type-not-in-doc
plugins/modules/net_tools/nios/nios_network.py validate-modules:undocumented-parameter
plugins/modules/net_tools/nios/nios_network_view.py validate-modules:doc-default-does-not-match-spec
plugins/modules/net_tools/nios/nios_network_view.py validate-modules:doc-missing-type
plugins/modules/net_tools/nios/nios_network_view.py validate-modules:invalid-ansiblemodule-schema
plugins/modules/net_tools/nios/nios_network_view.py validate-modules:parameter-type-not-in-doc
plugins/modules/net_tools/nios/nios_network_view.py validate-modules:undocumented-parameter
plugins/modules/net_tools/nios/nios_nsgroup.py validate-modules:doc-choices-do-not-match-spec
plugins/modules/net_tools/nios/nios_nsgroup.py validate-modules:doc-default-does-not-match-spec
plugins/modules/net_tools/nios/nios_nsgroup.py validate-modules:doc-missing-type
plugins/modules/net_tools/nios/nios_nsgroup.py validate-modules:doc-required-mismatch
plugins/modules/net_tools/nios/nios_nsgroup.py validate-modules:invalid-ansiblemodule-schema
plugins/modules/net_tools/nios/nios_nsgroup.py validate-modules:missing-suboption-docs
plugins/modules/net_tools/nios/nios_nsgroup.py validate-modules:parameter-type-not-in-doc
plugins/modules/net_tools/nios/nios_nsgroup.py validate-modules:undocumented-parameter
plugins/modules/net_tools/nios/nios_ptr_record.py validate-modules:doc-default-does-not-match-spec
plugins/modules/net_tools/nios/nios_ptr_record.py validate-modules:doc-missing-type
plugins/modules/net_tools/nios/nios_ptr_record.py validate-modules:invalid-ansiblemodule-schema
plugins/modules/net_tools/nios/nios_ptr_record.py validate-modules:parameter-type-not-in-doc
plugins/modules/net_tools/nios/nios_ptr_record.py validate-modules:undocumented-parameter
plugins/modules/net_tools/nios/nios_srv_record.py validate-modules:doc-default-does-not-match-spec
plugins/modules/net_tools/nios/nios_srv_record.py validate-modules:doc-missing-type
plugins/modules/net_tools/nios/nios_srv_record.py validate-modules:invalid-ansiblemodule-schema
plugins/modules/net_tools/nios/nios_srv_record.py validate-modules:parameter-type-not-in-doc
plugins/modules/net_tools/nios/nios_srv_record.py validate-modules:undocumented-parameter
plugins/modules/net_tools/nios/nios_txt_record.py validate-modules:doc-default-does-not-match-spec
plugins/modules/net_tools/nios/nios_txt_record.py validate-modules:doc-missing-type
plugins/modules/net_tools/nios/nios_txt_record.py validate-modules:invalid-ansiblemodule-schema
plugins/modules/net_tools/nios/nios_txt_record.py validate-modules:parameter-type-not-in-doc
plugins/modules/net_tools/nios/nios_txt_record.py validate-modules:undocumented-parameter
plugins/modules/net_tools/nios/nios_zone.py validate-modules:doc-default-does-not-match-spec
plugins/modules/net_tools/nios/nios_zone.py validate-modules:doc-missing-type
plugins/modules/net_tools/nios/nios_zone.py validate-modules:invalid-ansiblemodule-schema
plugins/modules/net_tools/nios/nios_zone.py validate-modules:parameter-type-not-in-doc
plugins/modules/net_tools/nios/nios_zone.py validate-modules:undocumented-parameter
plugins/modules/net_tools/nsupdate.py validate-modules:parameter-list-no-elements
plugins/modules/net_tools/nsupdate.py validate-modules:parameter-type-not-in-doc
plugins/modules/net_tools/omapi_host.py validate-modules:parameter-list-no-elements

View file

@ -188,72 +188,6 @@ plugins/modules/net_tools/ldap/ldap_attr.py validate-modules:undocumented-parame
plugins/modules/net_tools/ldap/ldap_entry.py validate-modules:doc-missing-type
plugins/modules/net_tools/ldap/ldap_entry.py validate-modules:parameter-type-not-in-doc
plugins/modules/net_tools/ldap/ldap_entry.py validate-modules:undocumented-parameter # Parameter removed but reason for removal is shown by custom code
plugins/modules/net_tools/nios/nios_a_record.py validate-modules:doc-default-does-not-match-spec
plugins/modules/net_tools/nios/nios_a_record.py validate-modules:doc-missing-type
plugins/modules/net_tools/nios/nios_a_record.py validate-modules:parameter-type-not-in-doc
plugins/modules/net_tools/nios/nios_a_record.py validate-modules:undocumented-parameter
plugins/modules/net_tools/nios/nios_aaaa_record.py validate-modules:doc-default-does-not-match-spec
plugins/modules/net_tools/nios/nios_aaaa_record.py validate-modules:doc-missing-type
plugins/modules/net_tools/nios/nios_aaaa_record.py validate-modules:parameter-type-not-in-doc
plugins/modules/net_tools/nios/nios_aaaa_record.py validate-modules:undocumented-parameter
plugins/modules/net_tools/nios/nios_cname_record.py validate-modules:doc-default-does-not-match-spec
plugins/modules/net_tools/nios/nios_cname_record.py validate-modules:doc-missing-type
plugins/modules/net_tools/nios/nios_cname_record.py validate-modules:parameter-type-not-in-doc
plugins/modules/net_tools/nios/nios_cname_record.py validate-modules:undocumented-parameter
plugins/modules/net_tools/nios/nios_dns_view.py validate-modules:doc-default-does-not-match-spec
plugins/modules/net_tools/nios/nios_dns_view.py validate-modules:doc-missing-type
plugins/modules/net_tools/nios/nios_dns_view.py validate-modules:parameter-type-not-in-doc
plugins/modules/net_tools/nios/nios_dns_view.py validate-modules:undocumented-parameter
plugins/modules/net_tools/nios/nios_fixed_address.py validate-modules:doc-default-does-not-match-spec
plugins/modules/net_tools/nios/nios_fixed_address.py validate-modules:doc-missing-type
plugins/modules/net_tools/nios/nios_fixed_address.py validate-modules:parameter-type-not-in-doc
plugins/modules/net_tools/nios/nios_fixed_address.py validate-modules:undocumented-parameter
plugins/modules/net_tools/nios/nios_host_record.py validate-modules:doc-default-does-not-match-spec
plugins/modules/net_tools/nios/nios_host_record.py validate-modules:doc-missing-type
plugins/modules/net_tools/nios/nios_host_record.py validate-modules:parameter-type-not-in-doc
plugins/modules/net_tools/nios/nios_host_record.py validate-modules:undocumented-parameter
plugins/modules/net_tools/nios/nios_member.py validate-modules:doc-default-does-not-match-spec
plugins/modules/net_tools/nios/nios_member.py validate-modules:doc-missing-type
plugins/modules/net_tools/nios/nios_member.py validate-modules:parameter-type-not-in-doc
plugins/modules/net_tools/nios/nios_member.py validate-modules:undocumented-parameter
plugins/modules/net_tools/nios/nios_mx_record.py validate-modules:doc-default-does-not-match-spec
plugins/modules/net_tools/nios/nios_mx_record.py validate-modules:doc-missing-type
plugins/modules/net_tools/nios/nios_mx_record.py validate-modules:parameter-type-not-in-doc
plugins/modules/net_tools/nios/nios_mx_record.py validate-modules:undocumented-parameter
plugins/modules/net_tools/nios/nios_naptr_record.py validate-modules:doc-default-does-not-match-spec
plugins/modules/net_tools/nios/nios_naptr_record.py validate-modules:doc-missing-type
plugins/modules/net_tools/nios/nios_naptr_record.py validate-modules:parameter-type-not-in-doc
plugins/modules/net_tools/nios/nios_naptr_record.py validate-modules:undocumented-parameter
plugins/modules/net_tools/nios/nios_network.py validate-modules:doc-default-does-not-match-spec
plugins/modules/net_tools/nios/nios_network.py validate-modules:doc-missing-type
plugins/modules/net_tools/nios/nios_network.py validate-modules:parameter-type-not-in-doc
plugins/modules/net_tools/nios/nios_network.py validate-modules:undocumented-parameter
plugins/modules/net_tools/nios/nios_network_view.py validate-modules:doc-default-does-not-match-spec
plugins/modules/net_tools/nios/nios_network_view.py validate-modules:doc-missing-type
plugins/modules/net_tools/nios/nios_network_view.py validate-modules:parameter-type-not-in-doc
plugins/modules/net_tools/nios/nios_network_view.py validate-modules:undocumented-parameter
plugins/modules/net_tools/nios/nios_nsgroup.py validate-modules:doc-choices-do-not-match-spec
plugins/modules/net_tools/nios/nios_nsgroup.py validate-modules:doc-default-does-not-match-spec
plugins/modules/net_tools/nios/nios_nsgroup.py validate-modules:doc-missing-type
plugins/modules/net_tools/nios/nios_nsgroup.py validate-modules:missing-suboption-docs
plugins/modules/net_tools/nios/nios_nsgroup.py validate-modules:parameter-type-not-in-doc
plugins/modules/net_tools/nios/nios_nsgroup.py validate-modules:undocumented-parameter
plugins/modules/net_tools/nios/nios_ptr_record.py validate-modules:doc-default-does-not-match-spec
plugins/modules/net_tools/nios/nios_ptr_record.py validate-modules:doc-missing-type
plugins/modules/net_tools/nios/nios_ptr_record.py validate-modules:parameter-type-not-in-doc
plugins/modules/net_tools/nios/nios_ptr_record.py validate-modules:undocumented-parameter
plugins/modules/net_tools/nios/nios_srv_record.py validate-modules:doc-default-does-not-match-spec
plugins/modules/net_tools/nios/nios_srv_record.py validate-modules:doc-missing-type
plugins/modules/net_tools/nios/nios_srv_record.py validate-modules:parameter-type-not-in-doc
plugins/modules/net_tools/nios/nios_srv_record.py validate-modules:undocumented-parameter
plugins/modules/net_tools/nios/nios_txt_record.py validate-modules:doc-default-does-not-match-spec
plugins/modules/net_tools/nios/nios_txt_record.py validate-modules:doc-missing-type
plugins/modules/net_tools/nios/nios_txt_record.py validate-modules:parameter-type-not-in-doc
plugins/modules/net_tools/nios/nios_txt_record.py validate-modules:undocumented-parameter
plugins/modules/net_tools/nios/nios_zone.py validate-modules:doc-default-does-not-match-spec
plugins/modules/net_tools/nios/nios_zone.py validate-modules:doc-missing-type
plugins/modules/net_tools/nios/nios_zone.py validate-modules:parameter-type-not-in-doc
plugins/modules/net_tools/nios/nios_zone.py validate-modules:undocumented-parameter
plugins/modules/net_tools/nsupdate.py validate-modules:parameter-type-not-in-doc
plugins/modules/notification/pushbullet.py validate-modules:parameter-type-not-in-doc
plugins/modules/notification/pushbullet.py validate-modules:undocumented-parameter