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 sanity checks (2021/Batch 3 - who's counting) (#1885)

* fixed validation-modules for plugins/modules/packaging/language/pip_package_info.py

* fixed validation-modules for plugins/modules/packaging/language/maven_artifact.py

* fixed validation-modules for plugins/modules/packaging/language/bundler.py

* fixed validation-modules for plugins/modules/notification/pushbullet.py

* fixed validation-modules for plugins/modules/monitoring/sensu/sensu_handler.py

* fixed validation-modules for plugins/modules/monitoring/sensu/sensu_check.py

* fixed validation-modules for plugins/modules/monitoring/sensu/sensu_client.py

* fixed validation-modules for plugins/modules/monitoring/icinga2_host.py

* fixed validation-modules for plugins/modules/monitoring/datadog/datadog_monitor.py

* fixed validation-modules for plugins/modules/monitoring/datadog/datadog_event.py

* fixed validation-modules for plugins/modules/clustering/znode.py

* fixed validation-modules for plugins/modules/clustering/etcd3.py

* fixed validation-modules for plugins/modules/clustering/consul/consul_session.py

* fixed validation-modules for plugins/modules/clustering/consul/consul_kv.py

* fixed validation-modules for plugins/modules/clustering/consul/consul.py

* fixed validation-modules for plugins/modules/cloud/profitbricks/profitbricks.py

* fixed validation-modules for plugins/modules/cloud/profitbricks/profitbricks_volume.py

* fixed validation-modules for plugins/modules/cloud/packet/packet_sshkey.py

* fixed validation-modules for plugins/modules/cloud/oneandone/oneandone_server.py

* fixed validation-modules for plugins/modules/cloud/oneandone/oneandone_private_network.py

* fixed validation-modules for plugins/modules/cloud/oneandone/oneandone_monitoring_policy.py

* fixed validation-modules for plugins/modules/cloud/oneandone/oneandone_load_balancer.py

* fixed validation-modules for plugins/modules/cloud/oneandone/oneandone_firewall_policy.py

* fixed validation-modules for plugins/modules/cloud/webfaction/webfaction_app.py

* fixed validation-modules for plugins/modules/cloud/webfaction/webfaction_db.py

* fixed validation-modules for plugins/modules/cloud/webfaction/webfaction_domain.py

* fixed validation-modules for plugins/modules/cloud/webfaction/webfaction_mailbox.py

* fixed validation-modules for plugins/modules/cloud/webfaction/webfaction_site.py

* fixed validation-modules for plugins/modules/remote_management/lxca/lxca_cmms.py

* fixed validation-modules for plugins/modules/remote_management/lxca/lxca_nodes.py

* missed one "elements" in sensu_handler

* Tidy up batch of sanity checks ignore lines

* missed lines in ignore-2.9.txt

* fixed validation-modules for plugins/modules/clustering/consul/consul_acl.py

* Update ignore-2.9.txt

Removed consul_acl.py from ignore-2.9.txt

* Apply suggestions from code review

Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>

* Update plugins/modules/notification/pushbullet.py

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

* Update plugins/modules/cloud/oneandone/oneandone_monitoring_policy.py

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

* added changelog fragment

* Update plugins/modules/cloud/oneandone/oneandone_monitoring_policy.py

* Update changelogs/fragments/1885-sanity-check-fixes-batch3.yml

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

Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>
This commit is contained in:
Alexei Znamensky 2021-02-26 23:37:23 +13:00 committed by GitHub
parent afe9d0fdb3
commit 76d9fe4ec6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
35 changed files with 299 additions and 265 deletions

View file

@ -0,0 +1,18 @@
minor_changes:
- oneandone_firewall_policy - elements of list parameters are now validated (https://github.com/ansible-collections/community.general/pull/1885).
- oneandone_load_balancer - elements of list parameters are now validated (https://github.com/ansible-collections/community.general/pull/1885).
- oneandone_monitoring_policy - elements of list parameters are now validated (https://github.com/ansible-collections/community.general/pull/1885).
- oneandone_private_network - elements of list parameters are now validated (https://github.com/ansible-collections/community.general/pull/1885).
- oneandone_server - elements of list parameters are now validated (https://github.com/ansible-collections/community.general/pull/1885).
- profitbricks - elements of list parameters are now validated (https://github.com/ansible-collections/community.general/pull/1885).
- profitbricks_volume - elements of list parameters are now validated (https://github.com/ansible-collections/community.general/pull/1885).
- webfaction_domain - elements of list parameters are now validated (https://github.com/ansible-collections/community.general/pull/1885).
- webfaction_site - elements of list parameters are now validated (https://github.com/ansible-collections/community.general/pull/1885).
- consul - elements of list parameters are now validated (https://github.com/ansible-collections/community.general/pull/1885).
- consul_acl - elements of list parameters are now validated (https://github.com/ansible-collections/community.general/pull/1885).
- consul_session - elements of list parameters are now validated (https://github.com/ansible-collections/community.general/pull/1885).
- datadog_monitor - elements of list parameters are now validated (https://github.com/ansible-collections/community.general/pull/1885).
- sensu_check - elements of list parameters are now validated (https://github.com/ansible-collections/community.general/pull/1885).
- sensu_client - elements of list parameters are now validated (https://github.com/ansible-collections/community.general/pull/1885).
- sensu_handler - elements of list parameters are now validated (https://github.com/ansible-collections/community.general/pull/1885).
- bundler - elements of list parameters are now validated (https://github.com/ansible-collections/community.general/pull/1885).

View file

@ -57,27 +57,32 @@ options:
Each rule must contain protocol parameter, in addition to three optional parameters Each rule must contain protocol parameter, in addition to three optional parameters
(port_from, port_to, and source) (port_from, port_to, and source)
type: list type: list
elements: dict
add_server_ips: add_server_ips:
description: description:
- A list of server identifiers (id or name) to be assigned to a firewall policy. - A list of server identifiers (id or name) to be assigned to a firewall policy.
Used in combination with update state. Used in combination with update state.
type: list type: list
elements: str
required: false required: false
remove_server_ips: remove_server_ips:
description: description:
- A list of server IP ids to be unassigned from a firewall policy. Used in combination with update state. - A list of server IP ids to be unassigned from a firewall policy. Used in combination with update state.
type: list type: list
elements: str
required: false required: false
add_rules: add_rules:
description: description:
- A list of rules that will be added to an existing firewall policy. - A list of rules that will be added to an existing firewall policy.
It is syntax is the same as the one used for rules parameter. Used in combination with update state. It is syntax is the same as the one used for rules parameter. Used in combination with update state.
type: list type: list
elements: dict
required: false required: false
remove_rules: remove_rules:
description: description:
- A list of rule ids that will be removed from an existing firewall policy. Used in combination with update state. - A list of rule ids that will be removed from an existing firewall policy. Used in combination with update state.
type: list type: list
elements: str
required: false required: false
description: description:
description: description:
@ -508,11 +513,11 @@ def main():
name=dict(type='str'), name=dict(type='str'),
firewall_policy=dict(type='str'), firewall_policy=dict(type='str'),
description=dict(type='str'), description=dict(type='str'),
rules=dict(type='list', default=[]), rules=dict(type='list', elements="dict", default=[]),
add_server_ips=dict(type='list', default=[]), add_server_ips=dict(type='list', elements="str", default=[]),
remove_server_ips=dict(type='list', default=[]), remove_server_ips=dict(type='list', elements="str", default=[]),
add_rules=dict(type='list', default=[]), add_rules=dict(type='list', elements="dict", default=[]),
remove_rules=dict(type='list', default=[]), remove_rules=dict(type='list', elements="str", default=[]),
wait=dict(type='bool', default=True), wait=dict(type='bool', default=True),
wait_timeout=dict(type='int', default=600), wait_timeout=dict(type='int', default=600),
wait_interval=dict(type='int', default=5), wait_interval=dict(type='int', default=5),

View file

@ -95,6 +95,7 @@ options:
- A list of rule objects that will be set for the load balancer. Each rule must contain protocol, - A list of rule objects that will be set for the load balancer. Each rule must contain protocol,
port_balancer, and port_server parameters, in addition to source parameter, which is optional. port_balancer, and port_server parameters, in addition to source parameter, which is optional.
type: list type: list
elements: dict
description: description:
description: description:
- Description of the load balancer. maxLength=256 - Description of the load balancer. maxLength=256
@ -105,22 +106,26 @@ options:
- A list of server identifiers (id or name) to be assigned to a load balancer. - A list of server identifiers (id or name) to be assigned to a load balancer.
Used in combination with update state. Used in combination with update state.
type: list type: list
elements: str
required: false required: false
remove_server_ips: remove_server_ips:
description: description:
- A list of server IP ids to be unassigned from a load balancer. Used in combination with update state. - A list of server IP ids to be unassigned from a load balancer. Used in combination with update state.
type: list type: list
elements: str
required: false required: false
add_rules: add_rules:
description: description:
- A list of rules that will be added to an existing load balancer. - A list of rules that will be added to an existing load balancer.
It is syntax is the same as the one used for rules parameter. Used in combination with update state. It is syntax is the same as the one used for rules parameter. Used in combination with update state.
type: list type: list
elements: dict
required: false required: false
remove_rules: remove_rules:
description: description:
- A list of rule ids that will be removed from an existing load balancer. Used in combination with update state. - A list of rule ids that will be removed from an existing load balancer. Used in combination with update state.
type: list type: list
elements: str
required: false required: false
wait: wait:
description: description:
@ -613,11 +618,11 @@ def main():
choices=METHODS), choices=METHODS),
datacenter=dict( datacenter=dict(
choices=DATACENTERS), choices=DATACENTERS),
rules=dict(type='list', default=[]), rules=dict(type='list', elements="dict", default=[]),
add_server_ips=dict(type='list', default=[]), add_server_ips=dict(type='list', elements="str", default=[]),
remove_server_ips=dict(type='list', default=[]), remove_server_ips=dict(type='list', elements="str", default=[]),
add_rules=dict(type='list', default=[]), add_rules=dict(type='list', elements="dict", default=[]),
remove_rules=dict(type='list', default=[]), remove_rules=dict(type='list', elements="str", default=[]),
wait=dict(type='bool', default=True), wait=dict(type='bool', default=True),
wait_timeout=dict(type='int', default=600), wait_timeout=dict(type='int', default=600),
wait_interval=dict(type='int', default=5), wait_interval=dict(type='int', default=5),

View file

@ -71,6 +71,7 @@ options:
warning alerts, critical is used to set critical alerts. alert enables alert, warning alerts, critical is used to set critical alerts. alert enables alert,
and value is used to advise when the value is exceeded. and value is used to advise when the value is exceeded.
type: list type: list
elements: dict
suboptions: suboptions:
cpu: cpu:
description: description:
@ -96,6 +97,7 @@ options:
description: description:
- Array of ports that will be monitoring. - Array of ports that will be monitoring.
type: list type: list
elements: dict
suboptions: suboptions:
protocol: protocol:
description: description:
@ -119,6 +121,7 @@ options:
description: description:
- Array of processes that will be monitoring. - Array of processes that will be monitoring.
type: list type: list
elements: dict
suboptions: suboptions:
process: process:
description: description:
@ -133,41 +136,49 @@ options:
description: description:
- Ports to add to the monitoring policy. - Ports to add to the monitoring policy.
type: list type: list
elements: dict
required: false required: false
add_processes: add_processes:
description: description:
- Processes to add to the monitoring policy. - Processes to add to the monitoring policy.
type: list type: list
elements: dict
required: false required: false
add_servers: add_servers:
description: description:
- Servers to add to the monitoring policy. - Servers to add to the monitoring policy.
type: list type: list
elements: str
required: false required: false
remove_ports: remove_ports:
description: description:
- Ports to remove from the monitoring policy. - Ports to remove from the monitoring policy.
type: list type: list
elements: str
required: false required: false
remove_processes: remove_processes:
description: description:
- Processes to remove from the monitoring policy. - Processes to remove from the monitoring policy.
type: list type: list
elements: str
required: false required: false
remove_servers: remove_servers:
description: description:
- Servers to remove from the monitoring policy. - Servers to remove from the monitoring policy.
type: list type: list
elements: str
required: false required: false
update_ports: update_ports:
description: description:
- Ports to be updated on the monitoring policy. - Ports to be updated on the monitoring policy.
type: list type: list
elements: dict
required: false required: false
update_processes: update_processes:
description: description:
- Processes to be updated on the monitoring policy. - Processes to be updated on the monitoring policy.
type: list type: list
elements: dict
required: false required: false
wait: wait:
description: description:
@ -197,7 +208,7 @@ author:
EXAMPLES = ''' EXAMPLES = '''
- name: Create a monitoring policy - name: Create a monitoring policy
oneandone_moitoring_policy: community.general.oneandone_monitoring_policy:
auth_token: oneandone_private_api_key auth_token: oneandone_private_api_key
name: ansible monitoring policy name: ansible monitoring policy
description: Testing creation of a monitoring policy with ansible description: Testing creation of a monitoring policy with ansible
@ -258,13 +269,13 @@ EXAMPLES = '''
wait: true wait: true
- name: Destroy a monitoring policy - name: Destroy a monitoring policy
oneandone_moitoring_policy: community.general.oneandone_monitoring_policy:
auth_token: oneandone_private_api_key auth_token: oneandone_private_api_key
state: absent state: absent
name: ansible monitoring policy name: ansible monitoring policy
- name: Update a monitoring policy - name: Update a monitoring policy
oneandone_moitoring_policy: community.general.oneandone_monitoring_policy:
auth_token: oneandone_private_api_key auth_token: oneandone_private_api_key
monitoring_policy: ansible monitoring policy monitoring_policy: ansible monitoring policy
name: ansible monitoring policy updated name: ansible monitoring policy updated
@ -315,7 +326,7 @@ EXAMPLES = '''
state: update state: update
- name: Add a port to a monitoring policy - name: Add a port to a monitoring policy
oneandone_moitoring_policy: community.general.oneandone_monitoring_policy:
auth_token: oneandone_private_api_key auth_token: oneandone_private_api_key
monitoring_policy: ansible monitoring policy updated monitoring_policy: ansible monitoring policy updated
add_ports: add_ports:
@ -328,7 +339,7 @@ EXAMPLES = '''
state: update state: update
- name: Update existing ports of a monitoring policy - name: Update existing ports of a monitoring policy
oneandone_moitoring_policy: community.general.oneandone_monitoring_policy:
auth_token: oneandone_private_api_key auth_token: oneandone_private_api_key
monitoring_policy: ansible monitoring policy updated monitoring_policy: ansible monitoring policy updated
update_ports: update_ports:
@ -348,7 +359,7 @@ EXAMPLES = '''
state: update state: update
- name: Remove a port from a monitoring policy - name: Remove a port from a monitoring policy
oneandone_moitoring_policy: community.general.oneandone_monitoring_policy:
auth_token: oneandone_private_api_key auth_token: oneandone_private_api_key
monitoring_policy: ansible monitoring policy updated monitoring_policy: ansible monitoring policy updated
remove_ports: remove_ports:
@ -356,7 +367,7 @@ EXAMPLES = '''
state: update state: update
- name: Add a process to a monitoring policy - name: Add a process to a monitoring policy
oneandone_moitoring_policy: community.general.oneandone_monitoring_policy:
auth_token: oneandone_private_api_key auth_token: oneandone_private_api_key
monitoring_policy: ansible monitoring policy updated monitoring_policy: ansible monitoring policy updated
add_processes: add_processes:
@ -368,7 +379,7 @@ EXAMPLES = '''
state: update state: update
- name: Update existing processes of a monitoring policy - name: Update existing processes of a monitoring policy
oneandone_moitoring_policy: community.general.oneandone_monitoring_policy:
auth_token: oneandone_private_api_key auth_token: oneandone_private_api_key
monitoring_policy: ansible monitoring policy updated monitoring_policy: ansible monitoring policy updated
update_processes: update_processes:
@ -386,7 +397,7 @@ EXAMPLES = '''
state: update state: update
- name: Remove a process from a monitoring policy - name: Remove a process from a monitoring policy
oneandone_moitoring_policy: community.general.oneandone_monitoring_policy:
auth_token: oneandone_private_api_key auth_token: oneandone_private_api_key
monitoring_policy: ansible monitoring policy updated monitoring_policy: ansible monitoring policy updated
remove_processes: remove_processes:
@ -395,7 +406,7 @@ EXAMPLES = '''
state: update state: update
- name: Add server to a monitoring policy - name: Add server to a monitoring policy
oneandone_moitoring_policy: community.general.oneandone_monitoring_policy:
auth_token: oneandone_private_api_key auth_token: oneandone_private_api_key
monitoring_policy: ansible monitoring policy updated monitoring_policy: ansible monitoring policy updated
add_servers: add_servers:
@ -404,7 +415,7 @@ EXAMPLES = '''
state: update state: update
- name: Remove server from a monitoring policy - name: Remove server from a monitoring policy
oneandone_moitoring_policy: community.general.oneandone_monitoring_policy:
auth_token: oneandone_private_api_key auth_token: oneandone_private_api_key
monitoring_policy: ansible monitoring policy updated monitoring_policy: ansible monitoring policy updated
remove_servers: remove_servers:
@ -957,17 +968,17 @@ def main():
agent=dict(type='str'), agent=dict(type='str'),
email=dict(type='str'), email=dict(type='str'),
description=dict(type='str'), description=dict(type='str'),
thresholds=dict(type='list', default=[]), thresholds=dict(type='list', elements="dict", default=[]),
ports=dict(type='list', default=[]), ports=dict(type='list', elements="dict", default=[]),
processes=dict(type='list', default=[]), processes=dict(type='list', elements="dict", default=[]),
add_ports=dict(type='list', default=[]), add_ports=dict(type='list', elements="dict", default=[]),
update_ports=dict(type='list', default=[]), update_ports=dict(type='list', elements="dict", default=[]),
remove_ports=dict(type='list', default=[]), remove_ports=dict(type='list', elements="str", default=[]),
add_processes=dict(type='list', default=[]), add_processes=dict(type='list', elements="dict", default=[]),
update_processes=dict(type='list', default=[]), update_processes=dict(type='list', elements="dict", default=[]),
remove_processes=dict(type='list', default=[]), remove_processes=dict(type='list', elements="str", default=[]),
add_servers=dict(type='list', default=[]), add_servers=dict(type='list', elements="str", default=[]),
remove_servers=dict(type='list', default=[]), remove_servers=dict(type='list', elements="str", default=[]),
wait=dict(type='bool', default=True), wait=dict(type='bool', default=True),
wait_timeout=dict(type='int', default=600), wait_timeout=dict(type='int', default=600),
wait_interval=dict(type='int', default=5), wait_interval=dict(type='int', default=5),

View file

@ -71,10 +71,12 @@ options:
description: description:
- List of server identifiers (name or id) to be added to the private network. - List of server identifiers (name or id) to be added to the private network.
type: list type: list
elements: str
remove_members: remove_members:
description: description:
- List of server identifiers (name or id) to be removed from the private network. - List of server identifiers (name or id) to be removed from the private network.
type: list type: list
elements: str
wait: wait:
description: description:
- wait for the instance to be in state 'running' before returning - wait for the instance to be in state 'running' before returning
@ -394,8 +396,8 @@ def main():
description=dict(type='str'), description=dict(type='str'),
network_address=dict(type='str'), network_address=dict(type='str'),
subnet_mask=dict(type='str'), subnet_mask=dict(type='str'),
add_members=dict(type='list', default=[]), add_members=dict(type='list', elements="str", default=[]),
remove_members=dict(type='list', default=[]), remove_members=dict(type='list', elements="str", default=[]),
datacenter=dict( datacenter=dict(
choices=DATACENTERS), choices=DATACENTERS),
wait=dict(type='bool', default=True), wait=dict(type='bool', default=True),

View file

@ -87,6 +87,7 @@ options:
- A list of hard disks with nested "size" and "is_main" properties. - A list of hard disks with nested "size" and "is_main" properties.
It must be provided with vcore, cores_per_processor, and ram parameters. It must be provided with vcore, cores_per_processor, and ram parameters.
type: list type: list
elements: dict
private_network: private_network:
description: description:
- The private network name or ID. - The private network name or ID.
@ -627,7 +628,7 @@ def main():
vcore=dict(type='int'), vcore=dict(type='int'),
cores_per_processor=dict(type='int'), cores_per_processor=dict(type='int'),
ram=dict(type='float'), ram=dict(type='float'),
hdds=dict(type='list'), hdds=dict(type='list', elements='dict'),
count=dict(type='int', default=1), count=dict(type='int', default=1),
ssh_key=dict(type='raw'), ssh_key=dict(type='raw'),
auto_increment=dict(type='bool', default=True), auto_increment=dict(type='bool', default=True),

View file

@ -17,27 +17,35 @@ author: "Tomas Karasek (@t0mk) <tom.to.the.k@gmail.com>"
options: options:
state: state:
description: description:
- Indicate desired state of the target. - Indicate desired state of the target.
default: present default: present
choices: ['present', 'absent'] choices: ['present', 'absent']
type: str
auth_token: auth_token:
description: description:
- Packet API token. You can also supply it in env var C(PACKET_API_TOKEN). - Packet API token. You can also supply it in env var C(PACKET_API_TOKEN).
type: str
label: label:
description: description:
- Label for the key. If you keep it empty, it will be read from key string. - Label for the key. If you keep it empty, it will be read from key string.
type: str
aliases: [name]
id: id:
description: description:
- UUID of the key which you want to remove. - UUID of the key which you want to remove.
type: str
fingerprint: fingerprint:
description: description:
- Fingerprint of the key which you want to remove. - Fingerprint of the key which you want to remove.
type: str
key: key:
description: description:
- Public Key string ({type} {base64 encoded key} {description}). - Public Key string ({type} {base64 encoded key} {description}).
type: str
key_file: key_file:
description: description:
- File with the public key. - File with the public key.
type: path
requirements: requirements:
- "python >= 2.6" - "python >= 2.6"

View file

@ -35,6 +35,7 @@ options:
description: description:
- Public SSH keys allowing access to the virtual machine. - Public SSH keys allowing access to the virtual machine.
type: list type: list
elements: str
datacenter: datacenter:
description: description:
- The datacenter to provision this virtual machine. - The datacenter to provision this virtual machine.
@ -70,6 +71,7 @@ options:
description: description:
- list of instance ids, currently only used when state='absent' to remove instances. - list of instance ids, currently only used when state='absent' to remove instances.
type: list type: list
elements: str
count: count:
description: description:
- The number of virtual machines to create. - The number of virtual machines to create.
@ -581,12 +583,12 @@ def main():
volume_size=dict(type='int', default=10), volume_size=dict(type='int', default=10),
disk_type=dict(choices=['HDD', 'SSD'], default='HDD'), disk_type=dict(choices=['HDD', 'SSD'], default='HDD'),
image_password=dict(default=None, no_log=True), image_password=dict(default=None, no_log=True),
ssh_keys=dict(type='list', default=[]), ssh_keys=dict(type='list', elements='str', default=[]),
bus=dict(choices=['VIRTIO', 'IDE'], default='VIRTIO'), bus=dict(choices=['VIRTIO', 'IDE'], default='VIRTIO'),
lan=dict(type='int', default=1), lan=dict(type='int', default=1),
count=dict(type='int', default=1), count=dict(type='int', default=1),
auto_increment=dict(type='bool', default=True), auto_increment=dict(type='bool', default=True),
instance_ids=dict(type='list', default=[]), instance_ids=dict(type='list', elements='str', default=[]),
subscription_user=dict(), subscription_user=dict(),
subscription_password=dict(no_log=True), subscription_password=dict(no_log=True),
location=dict(choices=LOCATIONS, default='us/las'), location=dict(choices=LOCATIONS, default='us/las'),

View file

@ -47,6 +47,7 @@ options:
description: description:
- Public SSH keys allowing access to the virtual machine. - Public SSH keys allowing access to the virtual machine.
type: list type: list
elements: str
required: false required: false
disk_type: disk_type:
description: description:
@ -77,6 +78,7 @@ options:
description: description:
- list of instance ids, currently only used when state='absent' to remove instances. - list of instance ids, currently only used when state='absent' to remove instances.
type: list type: list
elements: str
required: false required: false
subscription_user: subscription_user:
description: description:
@ -106,6 +108,10 @@ options:
type: str type: str
required: false required: false
default: 'present' default: 'present'
server:
description:
- Server name to attach the volume to.
type: str
requirements: [ "profitbricks" ] requirements: [ "profitbricks" ]
author: Matt Baldwin (@baldwinSPC) <baldwin@stackpointcloud.com> author: Matt Baldwin (@baldwinSPC) <baldwin@stackpointcloud.com>
@ -369,13 +375,13 @@ def main():
size=dict(type='int', default=10), size=dict(type='int', default=10),
bus=dict(choices=['VIRTIO', 'IDE'], default='VIRTIO'), bus=dict(choices=['VIRTIO', 'IDE'], default='VIRTIO'),
image=dict(), image=dict(),
image_password=dict(default=None, no_log=True), image_password=dict(no_log=True),
ssh_keys=dict(type='list', default=[]), ssh_keys=dict(type='list', elements='str', default=[]),
disk_type=dict(choices=['HDD', 'SSD'], default='HDD'), disk_type=dict(choices=['HDD', 'SSD'], default='HDD'),
licence_type=dict(default='UNKNOWN'), licence_type=dict(default='UNKNOWN'),
count=dict(type='int', default=1), count=dict(type='int', default=1),
auto_increment=dict(type='bool', default=True), auto_increment=dict(type='bool', default=True),
instance_ids=dict(type='list', default=[]), instance_ids=dict(type='list', elements='str', default=[]),
subscription_user=dict(), subscription_user=dict(),
subscription_password=dict(no_log=True), subscription_password=dict(no_log=True),
wait=dict(type='bool', default=True), wait=dict(type='bool', default=True),

View file

@ -35,17 +35,20 @@ options:
description: description:
- The name of the application - The name of the application
required: true required: true
type: str
state: state:
description: description:
- Whether the application should exist - Whether the application should exist
choices: ['present', 'absent'] choices: ['present', 'absent']
default: "present" default: "present"
type: str
type: type:
description: description:
- The type of application to create. See the Webfaction docs at U(https://docs.webfaction.com/xmlrpc-api/apps.html) for a list. - The type of application to create. See the Webfaction docs at U(https://docs.webfaction.com/xmlrpc-api/apps.html) for a list.
required: true required: true
type: str
autostart: autostart:
description: description:
@ -57,6 +60,7 @@ options:
description: description:
- Any extra parameters required by the app - Any extra parameters required by the app
default: '' default: ''
type: str
port_open: port_open:
description: description:
@ -68,15 +72,18 @@ options:
description: description:
- The webfaction account to use - The webfaction account to use
required: true required: true
type: str
login_password: login_password:
description: description:
- The webfaction password to use - The webfaction password to use
required: true required: true
type: str
machine: machine:
description: description:
- The machine name to use (optional for accounts with only one machine) - The machine name to use (optional for accounts with only one machine)
type: str
''' '''

View file

@ -32,36 +32,43 @@ options:
description: description:
- The name of the database - The name of the database
required: true required: true
type: str
state: state:
description: description:
- Whether the database should exist - Whether the database should exist
choices: ['present', 'absent'] choices: ['present', 'absent']
default: "present" default: "present"
type: str
type: type:
description: description:
- The type of database to create. - The type of database to create.
required: true required: true
choices: ['mysql', 'postgresql'] choices: ['mysql', 'postgresql']
type: str
password: password:
description: description:
- The password for the new database user. - The password for the new database user.
type: str
login_name: login_name:
description: description:
- The webfaction account to use - The webfaction account to use
required: true required: true
type: str
login_password: login_password:
description: description:
- The webfaction password to use - The webfaction password to use
required: true required: true
type: str
machine: machine:
description: description:
- The machine name to use (optional for accounts with only one machine) - The machine name to use (optional for accounts with only one machine)
type: str
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -32,27 +32,33 @@ options:
description: description:
- The name of the domain - The name of the domain
required: true required: true
type: str
state: state:
description: description:
- Whether the domain should exist - Whether the domain should exist
choices: ['present', 'absent'] choices: ['present', 'absent']
default: "present" default: "present"
type: str
subdomains: subdomains:
description: description:
- Any subdomains to create. - Any subdomains to create.
default: [] default: []
type: list
elements: str
login_name: login_name:
description: description:
- The webfaction account to use - The webfaction account to use
required: true required: true
type: str
login_password: login_password:
description: description:
- The webfaction password to use - The webfaction password to use
required: true required: true
type: str
''' '''
EXAMPLES = ''' EXAMPLES = '''
@ -87,8 +93,8 @@ def main():
module = AnsibleModule( module = AnsibleModule(
argument_spec=dict( argument_spec=dict(
name=dict(required=True), name=dict(required=True),
state=dict(required=False, choices=['present', 'absent'], default='present'), state=dict(choices=['present', 'absent'], default='present'),
subdomains=dict(required=False, default=[], type='list'), subdomains=dict(default=[], type='list', elements='str'),
login_name=dict(required=True), login_name=dict(required=True),
login_password=dict(required=True, no_log=True), login_password=dict(required=True, no_log=True),
), ),

View file

@ -29,27 +29,32 @@ options:
description: description:
- The name of the mailbox - The name of the mailbox
required: true required: true
type: str
mailbox_password: mailbox_password:
description: description:
- The password for the mailbox - The password for the mailbox
required: true required: true
type: str
state: state:
description: description:
- Whether the mailbox should exist - Whether the mailbox should exist
choices: ['present', 'absent'] choices: ['present', 'absent']
default: "present" default: "present"
type: str
login_name: login_name:
description: description:
- The webfaction account to use - The webfaction account to use
required: true required: true
type: str
login_password: login_password:
description: description:
- The webfaction password to use - The webfaction password to use
required: true required: true
type: str
''' '''
EXAMPLES = ''' EXAMPLES = '''

View file

@ -33,17 +33,20 @@ options:
description: description:
- The name of the website - The name of the website
required: true required: true
type: str
state: state:
description: description:
- Whether the website should exist - Whether the website should exist
choices: ['present', 'absent'] choices: ['present', 'absent']
default: "present" default: "present"
type: str
host: host:
description: description:
- The webfaction host on which the site should be created. - The webfaction host on which the site should be created.
required: true required: true
type: str
https: https:
description: description:
@ -55,21 +58,27 @@ options:
description: description:
- A mapping of URLs to apps - A mapping of URLs to apps
default: [] default: []
type: list
elements: list
subdomains: subdomains:
description: description:
- A list of subdomains associated with this site. - A list of subdomains associated with this site.
default: [] default: []
type: list
elements: str
login_name: login_name:
description: description:
- The webfaction account to use - The webfaction account to use
required: true required: true
type: str
login_password: login_password:
description: description:
- The webfaction password to use - The webfaction password to use
required: true required: true
type: str
''' '''
EXAMPLES = ''' EXAMPLES = '''
@ -101,12 +110,12 @@ def main():
module = AnsibleModule( module = AnsibleModule(
argument_spec=dict( argument_spec=dict(
name=dict(required=True), name=dict(required=True),
state=dict(required=False, choices=['present', 'absent'], default='present'), state=dict(choices=['present', 'absent'], default='present'),
# You can specify an IP address or hostname. # You can specify an IP address or hostname.
host=dict(required=True), host=dict(required=True),
https=dict(required=False, type='bool', default=False), https=dict(required=False, type='bool', default=False),
subdomains=dict(required=False, type='list', default=[]), subdomains=dict(type='list', elements='str', default=[]),
site_apps=dict(required=False, type='list', default=[]), site_apps=dict(type='list', elements='list', default=[]),
login_name=dict(required=True), login_name=dict(required=True),
login_password=dict(required=True, no_log=True), login_password=dict(required=True, no_log=True),
), ),

View file

@ -33,6 +33,7 @@ requirements:
author: "Steve Gargan (@sgargan)" author: "Steve Gargan (@sgargan)"
options: options:
state: state:
type: str
description: description:
- register or deregister the consul service, defaults to present - register or deregister the consul service, defaults to present
default: present default: present
@ -86,6 +87,7 @@ options:
documentation for further details. documentation for further details.
tags: tags:
type: list type: list
elements: str
description: description:
- tags that will be attached to the service registration. - tags that will be attached to the service registration.
script: script:
@ -345,7 +347,7 @@ def remove_service(module, service_id):
module.exit_json(changed=False, id=service_id) module.exit_json(changed=False, id=service_id)
def get_consul_api(module, token=None): def get_consul_api(module):
consulClient = consul.Consul(host=module.params.get('host'), consulClient = consul.Consul(host=module.params.get('host'),
port=module.params.get('port'), port=module.params.get('port'),
scheme=module.params.get('scheme'), scheme=module.params.get('scheme'),
@ -398,7 +400,7 @@ def parse_service(module):
module.fail_json(msg="service_name is required to configure a service.") module.fail_json(msg="service_name is required to configure a service.")
class ConsulService(): class ConsulService(object):
def __init__(self, service_id=None, name=None, address=None, port=-1, def __init__(self, service_id=None, name=None, address=None, port=-1,
tags=None, loaded=None): tags=None, loaded=None):
@ -564,26 +566,26 @@ def main():
argument_spec=dict( argument_spec=dict(
host=dict(default='localhost'), host=dict(default='localhost'),
port=dict(default=8500, type='int'), port=dict(default=8500, type='int'),
scheme=dict(required=False, default='http'), scheme=dict(default='http'),
validate_certs=dict(required=False, default=True, type='bool'), validate_certs=dict(default=True, type='bool'),
check_id=dict(required=False), check_id=dict(),
check_name=dict(required=False), check_name=dict(),
check_node=dict(required=False), check_node=dict(),
check_host=dict(required=False), check_host=dict(),
notes=dict(required=False), notes=dict(),
script=dict(required=False), script=dict(),
service_id=dict(required=False), service_id=dict(),
service_name=dict(required=False), service_name=dict(),
service_address=dict(required=False, type='str', default=None), service_address=dict(type='str'),
service_port=dict(required=False, type='int', default=None), service_port=dict(type='int'),
state=dict(default='present', choices=['present', 'absent']), state=dict(default='present', choices=['present', 'absent']),
interval=dict(required=False, type='str'), interval=dict(type='str'),
ttl=dict(required=False, type='str'), ttl=dict(type='str'),
tcp=dict(required=False, type='str'), tcp=dict(type='str'),
http=dict(required=False, type='str'), http=dict(type='str'),
timeout=dict(required=False, type='str'), timeout=dict(type='str'),
tags=dict(required=False, type='list'), tags=dict(type='list', elements='str'),
token=dict(required=False, no_log=True) token=dict(no_log=True)
), ),
supports_check_mode=False, supports_check_mode=False,
) )

View file

@ -22,29 +22,35 @@ options:
description: description:
- a management token is required to manipulate the acl lists - a management token is required to manipulate the acl lists
required: true required: true
type: str
state: state:
description: description:
- whether the ACL pair should be present or absent - whether the ACL pair should be present or absent
required: false required: false
choices: ['present', 'absent'] choices: ['present', 'absent']
default: present default: present
type: str
token_type: token_type:
description: description:
- the type of token that should be created - the type of token that should be created
choices: ['client', 'management'] choices: ['client', 'management']
default: client default: client
type: str
name: name:
description: description:
- the name that should be associated with the acl key, this is opaque - the name that should be associated with the acl key, this is opaque
to Consul to Consul
required: false required: false
type: str
token: token:
description: description:
- the token key identifying an ACL rule set. If generated by consul - the token key identifying an ACL rule set. If generated by consul
this will be a UUID this will be a UUID
required: false required: false
type: str
rules: rules:
type: list type: list
elements: dict
description: description:
- rules that should be associated with a given token - rules that should be associated with a given token
required: false required: false
@ -53,6 +59,7 @@ options:
- host of the consul agent defaults to localhost - host of the consul agent defaults to localhost
required: false required: false
default: localhost default: localhost
type: str
port: port:
type: int type: int
description: description:
@ -64,6 +71,7 @@ options:
- the protocol scheme on which the consul agent is running - the protocol scheme on which the consul agent is running
required: false required: false
default: http default: http
type: str
validate_certs: validate_certs:
type: bool type: bool
description: description:
@ -215,14 +223,14 @@ _POLICY_HCL_PROPERTY = "policy"
_ARGUMENT_SPEC = { _ARGUMENT_SPEC = {
MANAGEMENT_PARAMETER_NAME: dict(required=True, no_log=True), MANAGEMENT_PARAMETER_NAME: dict(required=True, no_log=True),
HOST_PARAMETER_NAME: dict(default='localhost'), HOST_PARAMETER_NAME: dict(default='localhost'),
SCHEME_PARAMETER_NAME: dict(required=False, default='http'), SCHEME_PARAMETER_NAME: dict(default='http'),
VALIDATE_CERTS_PARAMETER_NAME: dict(required=False, type='bool', default=True), VALIDATE_CERTS_PARAMETER_NAME: dict(type='bool', default=True),
NAME_PARAMETER_NAME: dict(required=False), NAME_PARAMETER_NAME: dict(),
PORT_PARAMETER_NAME: dict(default=8500, type='int'), PORT_PARAMETER_NAME: dict(default=8500, type='int'),
RULES_PARAMETER_NAME: dict(default=None, required=False, type='list'), RULES_PARAMETER_NAME: dict(type='list', elements='dict'),
STATE_PARAMETER_NAME: dict(default=PRESENT_STATE_VALUE, choices=[PRESENT_STATE_VALUE, ABSENT_STATE_VALUE]), STATE_PARAMETER_NAME: dict(default=PRESENT_STATE_VALUE, choices=[PRESENT_STATE_VALUE, ABSENT_STATE_VALUE]),
TOKEN_PARAMETER_NAME: dict(required=False), TOKEN_PARAMETER_NAME: dict(),
TOKEN_TYPE_PARAMETER_NAME: dict(required=False, choices=[CLIENT_TOKEN_TYPE_VALUE, MANAGEMENT_TOKEN_TYPE_VALUE], TOKEN_TYPE_PARAMETER_NAME: dict(choices=[CLIENT_TOKEN_TYPE_VALUE, MANAGEMENT_TOKEN_TYPE_VALUE],
default=CLIENT_TOKEN_TYPE_VALUE) default=CLIENT_TOKEN_TYPE_VALUE)
} }

View file

@ -37,6 +37,7 @@ options:
'release' respectively. a valid session must be supplied to make the 'release' respectively. a valid session must be supplied to make the
attempt changed will be true if the attempt is successful, false attempt changed will be true if the attempt is successful, false
otherwise. otherwise.
type: str
choices: [ absent, acquire, present, release ] choices: [ absent, acquire, present, release ]
default: present default: present
key: key:

View file

@ -67,6 +67,7 @@ options:
associated with the session will be release and can be acquired once associated with the session will be release and can be acquired once
the associated lock delay has expired. the associated lock delay has expired.
type: list type: list
elements: str
host: host:
description: description:
- The host of the consul agent defaults to localhost. - The host of the consul agent defaults to localhost.
@ -237,7 +238,7 @@ def test_dependencies(module):
def main(): def main():
argument_spec = dict( argument_spec = dict(
checks=dict(type='list'), checks=dict(type='list', elements='str'),
delay=dict(type='int', default='15'), delay=dict(type='int', default='15'),
behavior=dict(type='str', default='release', choices=['release', 'delete']), behavior=dict(type='str', default='release', choices=['release', 'delete']),
host=dict(type='str', default='localhost'), host=dict(type='str', default='localhost'),

View file

@ -18,47 +18,58 @@ description:
- Needs python etcd3 lib to work - Needs python etcd3 lib to work
options: options:
key: key:
type: str
description: description:
- the key where the information is stored in the cluster - the key where the information is stored in the cluster
required: true required: true
value: value:
type: str
description: description:
- the information stored - the information stored
required: true required: true
host: host:
type: str
description: description:
- the IP address of the cluster - the IP address of the cluster
default: 'localhost' default: 'localhost'
port: port:
type: int
description: description:
- the port number used to connect to the cluster - the port number used to connect to the cluster
default: 2379 default: 2379
state: state:
type: str
description: description:
- the state of the value for the key. - the state of the value for the key.
- can be present or absent - can be present or absent
required: true required: true
choices: [ present, absent ] choices: [ present, absent ]
user: user:
type: str
description: description:
- The etcd user to authenticate with. - The etcd user to authenticate with.
password: password:
type: str
description: description:
- The password to use for authentication. - The password to use for authentication.
- Required if I(user) is defined. - Required if I(user) is defined.
ca_cert: ca_cert:
type: path
description: description:
- The Certificate Authority to use to verify the etcd host. - The Certificate Authority to use to verify the etcd host.
- Required if I(client_cert) and I(client_key) are defined. - Required if I(client_cert) and I(client_key) are defined.
client_cert: client_cert:
type: path
description: description:
- PEM formatted certificate chain file to be used for SSL client authentication. - PEM formatted certificate chain file to be used for SSL client authentication.
- Required if I(client_key) is defined. - Required if I(client_key) is defined.
client_key: client_key:
type: path
description: description:
- PEM formatted file that contains your private key to be used for SSL client authentication. - PEM formatted file that contains your private key to be used for SSL client authentication.
- Required if I(client_cert) is defined. - Required if I(client_cert) is defined.
timeout: timeout:
type: int
description: description:
- The socket level timeout in seconds. - The socket level timeout in seconds.
author: author:

View file

@ -17,25 +17,31 @@ options:
description: description:
- A list of ZooKeeper servers (format '[server]:[port]'). - A list of ZooKeeper servers (format '[server]:[port]').
required: true required: true
type: str
name: name:
description: description:
- The path of the znode. - The path of the znode.
required: true required: true
type: str
value: value:
description: description:
- The value assigned to the znode. - The value assigned to the znode.
type: str
op: op:
description: description:
- An operation to perform. Mutually exclusive with state. - An operation to perform. Mutually exclusive with state.
choices: [ get, wait, list ] choices: [ get, wait, list ]
type: str
state: state:
description: description:
- The state to enforce. Mutually exclusive with op. - The state to enforce. Mutually exclusive with op.
choices: [ present, absent ] choices: [ present, absent ]
type: str
timeout: timeout:
description: description:
- The amount of time to wait for a node to appear. - The amount of time to wait for a node to appear.
default: 300 default: 300
type: int
recursive: recursive:
description: description:
- Recursively delete node and all its children. - Recursively delete node and all its children.
@ -110,11 +116,11 @@ def main():
argument_spec=dict( argument_spec=dict(
hosts=dict(required=True, type='str'), hosts=dict(required=True, type='str'),
name=dict(required=True, type='str'), name=dict(required=True, type='str'),
value=dict(required=False, default=None, type='str'), value=dict(type='str'),
op=dict(required=False, default=None, choices=['get', 'wait', 'list']), op=dict(choices=['get', 'wait', 'list']),
state=dict(choices=['present', 'absent']), state=dict(choices=['present', 'absent']),
timeout=dict(required=False, default=300, type='int'), timeout=dict(default=300, type='int'),
recursive=dict(required=False, default=False, type='bool') recursive=dict(default=False, type='bool')
), ),
supports_check_mode=False supports_check_mode=False
) )

View file

@ -56,6 +56,7 @@ options:
- If not specified, it defaults to the remote system's hostname. - If not specified, it defaults to the remote system's hostname.
tags: tags:
type: list type: list
elements: str
description: ["Comma separated list of tags to apply to the event."] description: ["Comma separated list of tags to apply to the event."]
alert_type: alert_type:
type: str type: str
@ -114,17 +115,12 @@ def main():
app_key=dict(required=True, no_log=True), app_key=dict(required=True, no_log=True),
title=dict(required=True), title=dict(required=True),
text=dict(required=True), text=dict(required=True),
date_happened=dict(required=False, default=None, type='int'), date_happened=dict(type='int'),
priority=dict( priority=dict(default='normal', choices=['normal', 'low']),
required=False, default='normal', choices=['normal', 'low'] host=dict(),
), tags=dict(type='list', elements='str'),
host=dict(required=False, default=None), alert_type=dict(default='info', choices=['error', 'warning', 'info', 'success']),
tags=dict(required=False, default=None, type='list'), aggregation_key=dict(),
alert_type=dict(
required=False, default='info',
choices=['error', 'warning', 'info', 'success']
),
aggregation_key=dict(required=False, default=None),
validate_certs=dict(default=True, type='bool'), validate_certs=dict(default=True, type='bool'),
) )
) )

View file

@ -46,6 +46,7 @@ options:
- A list of tags to associate with your monitor when creating or updating. - A list of tags to associate with your monitor when creating or updating.
- This can help you categorize and filter monitors. - This can help you categorize and filter monitors.
type: list type: list
elements: str
type: type:
description: description:
- The type of the monitor. - The type of the monitor.
@ -206,31 +207,30 @@ def main():
module = AnsibleModule( module = AnsibleModule(
argument_spec=dict( argument_spec=dict(
api_key=dict(required=True, no_log=True), api_key=dict(required=True, no_log=True),
api_host=dict(required=False), api_host=dict(),
app_key=dict(required=True, no_log=True), app_key=dict(required=True, no_log=True),
state=dict(required=True, choices=['present', 'absent', 'mute', 'unmute']), state=dict(required=True, choices=['present', 'absent', 'mute', 'unmute']),
type=dict(required=False, choices=['metric alert', 'service check', 'event alert', type=dict(choices=['metric alert', 'service check', 'event alert', 'process alert',
'process alert', 'log alert', 'query alert', 'log alert', 'query alert', 'trace-analytics alert', 'rum alert']),
'trace-analytics alert', 'rum alert']),
name=dict(required=True), name=dict(required=True),
query=dict(required=False), query=dict(),
notification_message=dict(required=False, no_log=True, default=None, aliases=['message'], notification_message=dict(no_log=True, aliases=['message'],
deprecated_aliases=[dict(name='message', version='3.0.0', deprecated_aliases=[dict(name='message', version='3.0.0',
collection_name='community.general')]), # was Ansible 2.14 collection_name='community.general')]), # was Ansible 2.14
silenced=dict(required=False, default=None, type='dict'), silenced=dict(type='dict'),
notify_no_data=dict(required=False, default=False, type='bool'), notify_no_data=dict(default=False, type='bool'),
no_data_timeframe=dict(required=False, default=None), no_data_timeframe=dict(),
timeout_h=dict(required=False, default=None), timeout_h=dict(),
renotify_interval=dict(required=False, default=None), renotify_interval=dict(),
escalation_message=dict(required=False, default=None), escalation_message=dict(),
notify_audit=dict(required=False, default=False, type='bool'), notify_audit=dict(default=False, type='bool'),
thresholds=dict(required=False, type='dict', default=None), thresholds=dict(type='dict', default=None),
tags=dict(required=False, type='list', default=None), tags=dict(type='list', elements='str', default=None),
locked=dict(required=False, default=False, type='bool'), locked=dict(default=False, type='bool'),
require_full_window=dict(required=False, default=None, type='bool'), require_full_window=dict(type='bool'),
new_host_delay=dict(required=False, default=None), new_host_delay=dict(),
evaluation_delay=dict(required=False, default=None), evaluation_delay=dict(),
id=dict(required=False), id=dict(),
include_tags=dict(required=False, default=True, type='bool'), include_tags=dict(required=False, default=True, type='bool'),
) )
) )

View file

@ -75,6 +75,7 @@ options:
description: description:
- Name used to create / delete the host. This does not need to be the FQDN, but does needs to be unique. - Name used to create / delete the host. This does not need to be the FQDN, but does needs to be unique.
required: true required: true
aliases: [host]
zone: zone:
type: str type: str
description: description:

View file

@ -49,11 +49,13 @@ options:
- Path to the sensu check to run (not required when I(state=absent)) - Path to the sensu check to run (not required when I(state=absent))
handlers: handlers:
type: list type: list
elements: str
description: description:
- List of handlers to notify when the check fails - List of handlers to notify when the check fails
default: [] default: []
subscribers: subscribers:
type: list type: list
elements: str
description: description:
- List of subscribers/channels this check should run for - List of subscribers/channels this check should run for
- See sensu_subscribers to subscribe a machine to a channel - See sensu_subscribers to subscribe a machine to a channel
@ -86,9 +88,9 @@ options:
- When to enable handling of check failures - When to enable handling of check failures
dependencies: dependencies:
type: list type: list
elements: str
description: description:
- Other checks this check depends on, if dependencies fail, - Other checks this check depends on, if dependencies fail handling of this check will be disabled
- handling of this check will be disabled
default: [] default: []
metric: metric:
description: description:
@ -327,15 +329,15 @@ def main():
'state': {'type': 'str', 'default': 'present', 'choices': ['present', 'absent']}, 'state': {'type': 'str', 'default': 'present', 'choices': ['present', 'absent']},
'backup': {'type': 'bool', 'default': 'no'}, 'backup': {'type': 'bool', 'default': 'no'},
'command': {'type': 'str'}, 'command': {'type': 'str'},
'handlers': {'type': 'list'}, 'handlers': {'type': 'list', 'elements': 'str'},
'subscribers': {'type': 'list'}, 'subscribers': {'type': 'list', 'elements': 'str'},
'interval': {'type': 'int'}, 'interval': {'type': 'int'},
'timeout': {'type': 'int'}, 'timeout': {'type': 'int'},
'ttl': {'type': 'int'}, 'ttl': {'type': 'int'},
'handle': {'type': 'bool'}, 'handle': {'type': 'bool'},
'subdue_begin': {'type': 'str'}, 'subdue_begin': {'type': 'str'},
'subdue_end': {'type': 'str'}, 'subdue_end': {'type': 'str'},
'dependencies': {'type': 'list'}, 'dependencies': {'type': 'list', 'elements': 'str'},
'metric': {'type': 'bool', 'default': 'no'}, 'metric': {'type': 'bool', 'default': 'no'},
'standalone': {'type': 'bool'}, 'standalone': {'type': 'bool'},
'publish': {'type': 'bool'}, 'publish': {'type': 'bool'},

View file

@ -33,6 +33,7 @@ options:
- If not specified it defaults to non-loopback IPv4 address as determined by Ruby Socket.ip_address_list (provided by Sensu). - If not specified it defaults to non-loopback IPv4 address as determined by Ruby Socket.ip_address_list (provided by Sensu).
subscriptions: subscriptions:
type: list type: list
elements: str
description: description:
- An array of client subscriptions, a list of roles and/or responsibilities assigned to the system (e.g. webserver). - An array of client subscriptions, a list of roles and/or responsibilities assigned to the system (e.g. webserver).
- These subscriptions determine which monitoring checks are executed by the client, as check requests are sent to subscriptions. - These subscriptions determine which monitoring checks are executed by the client, as check requests are sent to subscriptions.
@ -44,6 +45,7 @@ options:
default: 'no' default: 'no'
redact: redact:
type: list type: list
elements: str
description: description:
- Client definition attributes to redact (values) when logging and sending client keepalives. - Client definition attributes to redact (values) when logging and sending client keepalives.
socket: socket:
@ -160,22 +162,22 @@ def main():
module = AnsibleModule( module = AnsibleModule(
supports_check_mode=True, supports_check_mode=True,
argument_spec=dict( argument_spec=dict(
state=dict(type='str', required=False, choices=['present', 'absent'], default='present'), state=dict(type='str', choices=['present', 'absent'], default='present'),
name=dict(type='str', required=False), name=dict(type='str', ),
address=dict(type='str', required=False), address=dict(type='str', ),
subscriptions=dict(type='list', required=False), subscriptions=dict(type='list', elements="str"),
safe_mode=dict(type='bool', required=False, default=False), safe_mode=dict(type='bool', default=False),
redact=dict(type='list', required=False), redact=dict(type='list', elements="str"),
socket=dict(type='dict', required=False), socket=dict(type='dict'),
keepalives=dict(type='bool', required=False, default=True), keepalives=dict(type='bool', default=True),
keepalive=dict(type='dict', required=False), keepalive=dict(type='dict'),
registration=dict(type='dict', required=False), registration=dict(type='dict'),
deregister=dict(type='bool', required=False), deregister=dict(type='bool'),
deregistration=dict(type='dict', required=False), deregistration=dict(type='dict'),
ec2=dict(type='dict', required=False), ec2=dict(type='dict'),
chef=dict(type='dict', required=False), chef=dict(type='dict'),
puppet=dict(type='dict', required=False), puppet=dict(type='dict'),
servicenow=dict(type='dict', required=False) servicenow=dict(type='dict')
), ),
required_if=[ required_if=[
['state', 'present', ['subscriptions']] ['state', 'present', ['subscriptions']]

View file

@ -37,11 +37,13 @@ options:
- The Sensu event filter (name) to use when filtering events for the handler. - The Sensu event filter (name) to use when filtering events for the handler.
filters: filters:
type: list type: list
elements: str
description: description:
- An array of Sensu event filters (names) to use when filtering events for the handler. - An array of Sensu event filters (names) to use when filtering events for the handler.
- Each array item must be a string. - Each array item must be a string.
severities: severities:
type: list type: list
elements: str
description: description:
- An array of check result severities the handler will handle. - An array of check result severities the handler will handle.
- 'NOTE: event resolution bypasses this filtering.' - 'NOTE: event resolution bypasses this filtering.'
@ -84,9 +86,9 @@ options:
- 'NOTE: the pipe attribute is only required for Transport handlers (i.e. handlers configured with "type": "transport").' - 'NOTE: the pipe attribute is only required for Transport handlers (i.e. handlers configured with "type": "transport").'
handlers: handlers:
type: list type: list
elements: str
description: description:
- An array of Sensu event handlers (names) to use for events using the handler set. - An array of Sensu event handlers (names) to use for events using the handler set.
- Each array item must be a string.
- 'NOTE: the handlers attribute is only required for handler sets (i.e. handlers configured with "type": "set").' - 'NOTE: the handlers attribute is only required for handler sets (i.e. handlers configured with "type": "set").'
notes: notes:
- Check mode is supported - Check mode is supported
@ -165,20 +167,20 @@ def main():
module = AnsibleModule( module = AnsibleModule(
supports_check_mode=True, supports_check_mode=True,
argument_spec=dict( argument_spec=dict(
state=dict(type='str', required=False, choices=['present', 'absent'], default='present'), state=dict(type='str', choices=['present', 'absent'], default='present'),
name=dict(type='str', required=True), name=dict(type='str', required=True),
type=dict(type='str', required=False, choices=['pipe', 'tcp', 'udp', 'transport', 'set']), type=dict(type='str', choices=['pipe', 'tcp', 'udp', 'transport', 'set']),
filter=dict(type='str', required=False), filter=dict(type='str'),
filters=dict(type='list', required=False), filters=dict(type='list', elements='str'),
severities=dict(type='list', required=False), severities=dict(type='list', elements='str'),
mutator=dict(type='str', required=False), mutator=dict(type='str'),
timeout=dict(type='int', required=False, default=10), timeout=dict(type='int', default=10),
handle_silenced=dict(type='bool', required=False, default=False), handle_silenced=dict(type='bool', default=False),
handle_flapping=dict(type='bool', required=False, default=False), handle_flapping=dict(type='bool', default=False),
command=dict(type='str', required=False), command=dict(type='str'),
socket=dict(type='dict', required=False), socket=dict(type='dict'),
pipe=dict(type='dict', required=False), pipe=dict(type='dict'),
handlers=dict(type='list', required=False), handlers=dict(type='list', elements='str'),
), ),
required_if=[ required_if=[
['state', 'present', ['type']], ['state', 'present', ['type']],

View file

@ -48,6 +48,10 @@ options:
type: str type: str
description: description:
- Body of the notification, e.g. Details of the fault you're alerting. - Body of the notification, e.g. Details of the fault you're alerting.
url:
type: str
description:
- URL field, used when I(push_type) is C(link).
notes: notes:
- Requires pushbullet.py Python package on the remote host. - Requires pushbullet.py Python package on the remote host.

View file

@ -33,6 +33,7 @@ options:
- If not specified, it will default to the temporary working directory - If not specified, it will default to the temporary working directory
exclude_groups: exclude_groups:
type: list type: list
elements: str
description: description:
- A list of Gemfile groups to exclude during operations. This only - A list of Gemfile groups to exclude during operations. This only
applies when state is C(present). Bundler considers this applies when state is C(present). Bundler considers this
@ -134,7 +135,7 @@ def main():
executable=dict(default=None, required=False), executable=dict(default=None, required=False),
state=dict(default='present', required=False, choices=['present', 'latest']), state=dict(default='present', required=False, choices=['present', 'latest']),
chdir=dict(default=None, required=False, type='path'), chdir=dict(default=None, required=False, type='path'),
exclude_groups=dict(default=None, required=False, type='list'), exclude_groups=dict(default=None, required=False, type='list', elements='str'),
clean=dict(default=False, required=False, type='bool'), clean=dict(default=False, required=False, type='bool'),
gemfile=dict(default=None, required=False, type='path'), gemfile=dict(default=None, required=False, type='path'),
local=dict(default=False, required=False, type='bool'), local=dict(default=False, required=False, type='bool'),

View file

@ -141,6 +141,10 @@ options:
required: false required: false
default: 'download' default: 'download'
choices: ['never', 'download', 'change', 'always'] choices: ['never', 'download', 'change', 'always']
directory_mode:
type: str
description:
- Filesystem permission mode applied recursively to I(dest) when it is a directory.
extends_documentation_fragment: extends_documentation_fragment:
- files - files
''' '''
@ -342,7 +346,7 @@ class Artifact(object):
if len(parts) >= 3: if len(parts) >= 3:
g = parts[0] g = parts[0]
a = parts[1] a = parts[1]
v = parts[len(parts) - 1] v = parts[-1]
t = None t = None
c = None c = None
if len(parts) == 4: if len(parts) == 4:
@ -595,8 +599,7 @@ def main():
client_key=dict(type="path", required=False), client_key=dict(type="path", required=False),
keep_name=dict(required=False, default=False, type='bool'), keep_name=dict(required=False, default=False, type='bool'),
verify_checksum=dict(required=False, default='download', choices=['never', 'download', 'change', 'always']), verify_checksum=dict(required=False, default='download', choices=['never', 'download', 'change', 'always']),
directory_mode=dict(type='str'), # Used since https://github.com/ansible/ansible/pull/24965, not sure directory_mode=dict(type='str'),
# if this should really be here.
), ),
add_file_common_args=True, add_file_common_args=True,
mutually_exclusive=([('version', 'version_by_spec')]) mutually_exclusive=([('version', 'version_by_spec')])

View file

@ -20,6 +20,7 @@ options:
default: ['pip'] default: ['pip']
required: False required: False
type: list type: list
elements: path
requirements: requirements:
- The requested pip executables must be installed on the target. - The requested pip executables must be installed on the target.
author: author:
@ -115,7 +116,11 @@ def main():
# start work # start work
global module global module
module = AnsibleModule(argument_spec=dict(clients={'type': 'list', 'default': ['pip']},), supports_check_mode=True) module = AnsibleModule(
argument_spec=dict(
clients=dict(type='list', elements='path', default=['pip']),
),
supports_check_mode=True)
packages = {} packages = {}
results = {'packages': {}} results = {'packages': {}}
clients = module.params['clients'] clients = module.params['clients']

View file

@ -20,6 +20,7 @@ options:
uuid: uuid:
description: description:
uuid of device, this is string with length greater than 16. uuid of device, this is string with length greater than 16.
type: str
command_options: command_options:
description: description:
@ -29,10 +30,12 @@ options:
- cmms - cmms
- cmms_by_uuid - cmms_by_uuid
- cmms_by_chassis_uuid - cmms_by_chassis_uuid
type: str
chassis: chassis:
description: description:
uuid of chassis, this is string with length greater than 16. uuid of chassis, this is string with length greater than 16.
type: str
extends_documentation_fragment: extends_documentation_fragment:
- community.general.lxca_common - community.general.lxca_common

View file

@ -20,6 +20,7 @@ options:
uuid: uuid:
description: description:
uuid of device, this is string with length greater than 16. uuid of device, this is string with length greater than 16.
type: str
command_options: command_options:
description: description:
@ -31,10 +32,12 @@ options:
- nodes_by_chassis_uuid - nodes_by_chassis_uuid
- nodes_status_managed - nodes_status_managed
- nodes_status_unmanaged - nodes_status_unmanaged
type: str
chassis: chassis:
description: description:
uuid of chassis, this is string with length greater than 16. uuid of chassis, this is string with length greater than 16.
type: str
extends_documentation_fragment: extends_documentation_fragment:
- community.general.lxca_common - community.general.lxca_common

View file

@ -11,11 +11,6 @@ plugins/modules/cloud/linode/linode_v4.py validate-modules:parameter-list-no-ele
plugins/modules/cloud/lxc/lxc_container.py use-argspec-type-path plugins/modules/cloud/lxc/lxc_container.py use-argspec-type-path
plugins/modules/cloud/lxc/lxc_container.py validate-modules:use-run-command-not-popen plugins/modules/cloud/lxc/lxc_container.py validate-modules:use-run-command-not-popen
plugins/modules/cloud/misc/rhevm.py validate-modules:parameter-state-invalid-choice plugins/modules/cloud/misc/rhevm.py validate-modules:parameter-state-invalid-choice
plugins/modules/cloud/oneandone/oneandone_firewall_policy.py validate-modules:parameter-list-no-elements
plugins/modules/cloud/oneandone/oneandone_load_balancer.py validate-modules:parameter-list-no-elements
plugins/modules/cloud/oneandone/oneandone_monitoring_policy.py validate-modules:parameter-list-no-elements
plugins/modules/cloud/oneandone/oneandone_private_network.py validate-modules:parameter-list-no-elements
plugins/modules/cloud/oneandone/oneandone_server.py validate-modules:parameter-list-no-elements
plugins/modules/cloud/online/online_server_facts.py validate-modules:return-syntax-error plugins/modules/cloud/online/online_server_facts.py validate-modules:return-syntax-error
plugins/modules/cloud/online/online_server_info.py validate-modules:return-syntax-error plugins/modules/cloud/online/online_server_info.py validate-modules:return-syntax-error
plugins/modules/cloud/online/online_user_facts.py validate-modules:return-syntax-error plugins/modules/cloud/online/online_user_facts.py validate-modules:return-syntax-error
@ -73,14 +68,7 @@ plugins/modules/cloud/ovirt/ovirt_vm_facts.py validate-modules:parameter-list-no
plugins/modules/cloud/ovirt/ovirt_vm_facts.py validate-modules:parameter-type-not-in-doc plugins/modules/cloud/ovirt/ovirt_vm_facts.py validate-modules:parameter-type-not-in-doc
plugins/modules/cloud/ovirt/ovirt_vmpool_facts.py validate-modules:doc-missing-type plugins/modules/cloud/ovirt/ovirt_vmpool_facts.py validate-modules:doc-missing-type
plugins/modules/cloud/ovirt/ovirt_vmpool_facts.py validate-modules:parameter-list-no-elements plugins/modules/cloud/ovirt/ovirt_vmpool_facts.py validate-modules:parameter-list-no-elements
plugins/modules/cloud/packet/packet_sshkey.py validate-modules:doc-missing-type
plugins/modules/cloud/packet/packet_sshkey.py validate-modules:parameter-type-not-in-doc
plugins/modules/cloud/packet/packet_sshkey.py validate-modules:undocumented-parameter
plugins/modules/cloud/packet/packet_volume_attachment.py pylint:ansible-bad-function plugins/modules/cloud/packet/packet_volume_attachment.py pylint:ansible-bad-function
plugins/modules/cloud/profitbricks/profitbricks.py validate-modules:parameter-list-no-elements
plugins/modules/cloud/profitbricks/profitbricks_volume.py validate-modules:doc-missing-type
plugins/modules/cloud/profitbricks/profitbricks_volume.py validate-modules:parameter-list-no-elements
plugins/modules/cloud/profitbricks/profitbricks_volume.py validate-modules:undocumented-parameter
plugins/modules/cloud/rackspace/rax.py use-argspec-type-path # fix needed plugins/modules/cloud/rackspace/rax.py use-argspec-type-path # fix needed
plugins/modules/cloud/rackspace/rax.py validate-modules:doc-missing-type plugins/modules/cloud/rackspace/rax.py validate-modules:doc-missing-type
plugins/modules/cloud/rackspace/rax.py validate-modules:parameter-list-no-elements plugins/modules/cloud/rackspace/rax.py validate-modules:parameter-list-no-elements
@ -119,39 +107,16 @@ plugins/modules/cloud/univention/udm_dns_zone.py validate-modules:parameter-type
plugins/modules/cloud/univention/udm_dns_zone.py validate-modules:undocumented-parameter plugins/modules/cloud/univention/udm_dns_zone.py validate-modules:undocumented-parameter
plugins/modules/cloud/univention/udm_share.py validate-modules:parameter-list-no-elements plugins/modules/cloud/univention/udm_share.py validate-modules:parameter-list-no-elements
plugins/modules/cloud/univention/udm_user.py validate-modules:parameter-list-no-elements plugins/modules/cloud/univention/udm_user.py validate-modules:parameter-list-no-elements
plugins/modules/cloud/webfaction/webfaction_app.py validate-modules:doc-missing-type
plugins/modules/cloud/webfaction/webfaction_db.py validate-modules:doc-missing-type
plugins/modules/cloud/webfaction/webfaction_domain.py validate-modules:doc-missing-type
plugins/modules/cloud/webfaction/webfaction_domain.py validate-modules:parameter-list-no-elements
plugins/modules/cloud/webfaction/webfaction_domain.py validate-modules:parameter-type-not-in-doc
plugins/modules/cloud/webfaction/webfaction_mailbox.py validate-modules:doc-missing-type
plugins/modules/cloud/webfaction/webfaction_site.py validate-modules:doc-missing-type
plugins/modules/cloud/webfaction/webfaction_site.py validate-modules:parameter-list-no-elements
plugins/modules/cloud/webfaction/webfaction_site.py validate-modules:parameter-type-not-in-doc
plugins/modules/cloud/xenserver/xenserver_guest.py validate-modules:doc-choices-do-not-match-spec plugins/modules/cloud/xenserver/xenserver_guest.py validate-modules:doc-choices-do-not-match-spec
plugins/modules/cloud/xenserver/xenserver_guest.py validate-modules:doc-required-mismatch plugins/modules/cloud/xenserver/xenserver_guest.py validate-modules:doc-required-mismatch
plugins/modules/cloud/xenserver/xenserver_guest.py validate-modules:missing-suboption-docs plugins/modules/cloud/xenserver/xenserver_guest.py validate-modules:missing-suboption-docs
plugins/modules/cloud/xenserver/xenserver_guest.py validate-modules:parameter-type-not-in-doc plugins/modules/cloud/xenserver/xenserver_guest.py validate-modules:parameter-type-not-in-doc
plugins/modules/cloud/xenserver/xenserver_guest.py validate-modules:undocumented-parameter plugins/modules/cloud/xenserver/xenserver_guest.py validate-modules:undocumented-parameter
plugins/modules/clustering/consul/consul.py validate-modules:doc-missing-type plugins/modules/clustering/consul/consul.py validate-modules:doc-missing-type
plugins/modules/clustering/consul/consul.py validate-modules:parameter-list-no-elements
plugins/modules/clustering/consul/consul.py validate-modules:undocumented-parameter plugins/modules/clustering/consul/consul.py validate-modules:undocumented-parameter
plugins/modules/clustering/consul/consul_acl.py validate-modules:doc-missing-type
plugins/modules/clustering/consul/consul_acl.py validate-modules:parameter-list-no-elements
plugins/modules/clustering/consul/consul_kv.py validate-modules:parameter-type-not-in-doc
plugins/modules/clustering/consul/consul_session.py validate-modules:parameter-list-no-elements
plugins/modules/clustering/consul/consul_session.py validate-modules:parameter-state-invalid-choice plugins/modules/clustering/consul/consul_session.py validate-modules:parameter-state-invalid-choice
plugins/modules/clustering/etcd3.py validate-modules:parameter-type-not-in-doc
plugins/modules/clustering/znode.py validate-modules:doc-missing-type
plugins/modules/clustering/znode.py validate-modules:parameter-type-not-in-doc
plugins/modules/monitoring/bigpanda.py validate-modules:invalid-argument-name plugins/modules/monitoring/bigpanda.py validate-modules:invalid-argument-name
plugins/modules/monitoring/datadog/datadog_event.py validate-modules:parameter-list-no-elements
plugins/modules/monitoring/datadog/datadog_monitor.py validate-modules:invalid-argument-name plugins/modules/monitoring/datadog/datadog_monitor.py validate-modules:invalid-argument-name
plugins/modules/monitoring/datadog/datadog_monitor.py validate-modules:parameter-list-no-elements
plugins/modules/monitoring/icinga2_host.py validate-modules:undocumented-parameter
plugins/modules/monitoring/sensu/sensu_check.py validate-modules:parameter-list-no-elements
plugins/modules/monitoring/sensu/sensu_client.py validate-modules:parameter-list-no-elements
plugins/modules/monitoring/sensu/sensu_handler.py validate-modules:parameter-list-no-elements
plugins/modules/net_tools/ldap/ldap_attr.py validate-modules:parameter-type-not-in-doc # This triggers when a parameter is undocumented plugins/modules/net_tools/ldap/ldap_attr.py validate-modules:parameter-type-not-in-doc # This triggers when a parameter is undocumented
plugins/modules/net_tools/ldap/ldap_attr.py validate-modules:undocumented-parameter # Parameter removed but reason for removal is shown by custom code plugins/modules/net_tools/ldap/ldap_attr.py validate-modules:undocumented-parameter # Parameter removed but reason for removal is shown by custom code
plugins/modules/net_tools/ldap/ldap_entry.py validate-modules:doc-missing-type plugins/modules/net_tools/ldap/ldap_entry.py validate-modules:doc-missing-type
@ -160,13 +125,7 @@ plugins/modules/net_tools/ldap/ldap_entry.py validate-modules:undocumented-param
plugins/modules/notification/cisco_webex.py validate-modules:invalid-argument-name plugins/modules/notification/cisco_webex.py validate-modules:invalid-argument-name
plugins/modules/notification/grove.py validate-modules:invalid-argument-name plugins/modules/notification/grove.py validate-modules:invalid-argument-name
plugins/modules/notification/grove.py validate-modules:nonexistent-parameter-documented plugins/modules/notification/grove.py validate-modules:nonexistent-parameter-documented
plugins/modules/notification/pushbullet.py validate-modules:parameter-type-not-in-doc
plugins/modules/notification/pushbullet.py validate-modules:undocumented-parameter
plugins/modules/packaging/language/bundler.py validate-modules:parameter-list-no-elements
plugins/modules/packaging/language/composer.py validate-modules:parameter-invalid plugins/modules/packaging/language/composer.py validate-modules:parameter-invalid
plugins/modules/packaging/language/maven_artifact.py validate-modules:parameter-type-not-in-doc
plugins/modules/packaging/language/maven_artifact.py validate-modules:undocumented-parameter
plugins/modules/packaging/language/pip_package_info.py validate-modules:parameter-list-no-elements
plugins/modules/packaging/os/apt_rpm.py validate-modules:parameter-invalid plugins/modules/packaging/os/apt_rpm.py validate-modules:parameter-invalid
plugins/modules/packaging/os/homebrew.py validate-modules:parameter-invalid plugins/modules/packaging/os/homebrew.py validate-modules:parameter-invalid
plugins/modules/packaging/os/homebrew_cask.py validate-modules:parameter-invalid plugins/modules/packaging/os/homebrew_cask.py validate-modules:parameter-invalid
@ -179,8 +138,6 @@ plugins/modules/packaging/os/xbps.py validate-modules:parameter-invalid
plugins/modules/remote_management/hpilo/hpilo_boot.py validate-modules:parameter-type-not-in-doc plugins/modules/remote_management/hpilo/hpilo_boot.py validate-modules:parameter-type-not-in-doc
plugins/modules/remote_management/hpilo/hpilo_info.py validate-modules:parameter-type-not-in-doc plugins/modules/remote_management/hpilo/hpilo_info.py validate-modules:parameter-type-not-in-doc
plugins/modules/remote_management/hpilo/hponcfg.py validate-modules:parameter-type-not-in-doc plugins/modules/remote_management/hpilo/hponcfg.py validate-modules:parameter-type-not-in-doc
plugins/modules/remote_management/lxca/lxca_cmms.py validate-modules:doc-missing-type
plugins/modules/remote_management/lxca/lxca_nodes.py validate-modules:doc-missing-type
plugins/modules/remote_management/manageiq/manageiq_alert_profiles.py validate-modules:parameter-list-no-elements plugins/modules/remote_management/manageiq/manageiq_alert_profiles.py validate-modules:parameter-list-no-elements
plugins/modules/remote_management/manageiq/manageiq_policies.py validate-modules:parameter-list-no-elements plugins/modules/remote_management/manageiq/manageiq_policies.py validate-modules:parameter-list-no-elements
plugins/modules/remote_management/manageiq/manageiq_policies.py validate-modules:parameter-state-invalid-choice plugins/modules/remote_management/manageiq/manageiq_policies.py validate-modules:parameter-state-invalid-choice

View file

@ -10,11 +10,6 @@ plugins/modules/cloud/linode/linode_v4.py validate-modules:parameter-list-no-ele
plugins/modules/cloud/lxc/lxc_container.py use-argspec-type-path plugins/modules/cloud/lxc/lxc_container.py use-argspec-type-path
plugins/modules/cloud/lxc/lxc_container.py validate-modules:use-run-command-not-popen plugins/modules/cloud/lxc/lxc_container.py validate-modules:use-run-command-not-popen
plugins/modules/cloud/misc/rhevm.py validate-modules:parameter-state-invalid-choice plugins/modules/cloud/misc/rhevm.py validate-modules:parameter-state-invalid-choice
plugins/modules/cloud/oneandone/oneandone_firewall_policy.py validate-modules:parameter-list-no-elements
plugins/modules/cloud/oneandone/oneandone_load_balancer.py validate-modules:parameter-list-no-elements
plugins/modules/cloud/oneandone/oneandone_monitoring_policy.py validate-modules:parameter-list-no-elements
plugins/modules/cloud/oneandone/oneandone_private_network.py validate-modules:parameter-list-no-elements
plugins/modules/cloud/oneandone/oneandone_server.py validate-modules:parameter-list-no-elements
plugins/modules/cloud/online/online_server_facts.py validate-modules:return-syntax-error plugins/modules/cloud/online/online_server_facts.py validate-modules:return-syntax-error
plugins/modules/cloud/online/online_server_info.py validate-modules:return-syntax-error plugins/modules/cloud/online/online_server_info.py validate-modules:return-syntax-error
plugins/modules/cloud/online/online_user_facts.py validate-modules:return-syntax-error plugins/modules/cloud/online/online_user_facts.py validate-modules:return-syntax-error
@ -72,14 +67,7 @@ plugins/modules/cloud/ovirt/ovirt_vm_facts.py validate-modules:parameter-list-no
plugins/modules/cloud/ovirt/ovirt_vm_facts.py validate-modules:parameter-type-not-in-doc plugins/modules/cloud/ovirt/ovirt_vm_facts.py validate-modules:parameter-type-not-in-doc
plugins/modules/cloud/ovirt/ovirt_vmpool_facts.py validate-modules:doc-missing-type plugins/modules/cloud/ovirt/ovirt_vmpool_facts.py validate-modules:doc-missing-type
plugins/modules/cloud/ovirt/ovirt_vmpool_facts.py validate-modules:parameter-list-no-elements plugins/modules/cloud/ovirt/ovirt_vmpool_facts.py validate-modules:parameter-list-no-elements
plugins/modules/cloud/packet/packet_sshkey.py validate-modules:doc-missing-type
plugins/modules/cloud/packet/packet_sshkey.py validate-modules:parameter-type-not-in-doc
plugins/modules/cloud/packet/packet_sshkey.py validate-modules:undocumented-parameter
plugins/modules/cloud/packet/packet_volume_attachment.py pylint:ansible-bad-function plugins/modules/cloud/packet/packet_volume_attachment.py pylint:ansible-bad-function
plugins/modules/cloud/profitbricks/profitbricks.py validate-modules:parameter-list-no-elements
plugins/modules/cloud/profitbricks/profitbricks_volume.py validate-modules:doc-missing-type
plugins/modules/cloud/profitbricks/profitbricks_volume.py validate-modules:parameter-list-no-elements
plugins/modules/cloud/profitbricks/profitbricks_volume.py validate-modules:undocumented-parameter
plugins/modules/cloud/rackspace/rax.py use-argspec-type-path # fix needed plugins/modules/cloud/rackspace/rax.py use-argspec-type-path # fix needed
plugins/modules/cloud/rackspace/rax.py validate-modules:doc-missing-type plugins/modules/cloud/rackspace/rax.py validate-modules:doc-missing-type
plugins/modules/cloud/rackspace/rax.py validate-modules:parameter-list-no-elements plugins/modules/cloud/rackspace/rax.py validate-modules:parameter-list-no-elements
@ -118,39 +106,16 @@ plugins/modules/cloud/univention/udm_dns_zone.py validate-modules:parameter-type
plugins/modules/cloud/univention/udm_dns_zone.py validate-modules:undocumented-parameter plugins/modules/cloud/univention/udm_dns_zone.py validate-modules:undocumented-parameter
plugins/modules/cloud/univention/udm_share.py validate-modules:parameter-list-no-elements plugins/modules/cloud/univention/udm_share.py validate-modules:parameter-list-no-elements
plugins/modules/cloud/univention/udm_user.py validate-modules:parameter-list-no-elements plugins/modules/cloud/univention/udm_user.py validate-modules:parameter-list-no-elements
plugins/modules/cloud/webfaction/webfaction_app.py validate-modules:doc-missing-type
plugins/modules/cloud/webfaction/webfaction_db.py validate-modules:doc-missing-type
plugins/modules/cloud/webfaction/webfaction_domain.py validate-modules:doc-missing-type
plugins/modules/cloud/webfaction/webfaction_domain.py validate-modules:parameter-list-no-elements
plugins/modules/cloud/webfaction/webfaction_domain.py validate-modules:parameter-type-not-in-doc
plugins/modules/cloud/webfaction/webfaction_mailbox.py validate-modules:doc-missing-type
plugins/modules/cloud/webfaction/webfaction_site.py validate-modules:doc-missing-type
plugins/modules/cloud/webfaction/webfaction_site.py validate-modules:parameter-list-no-elements
plugins/modules/cloud/webfaction/webfaction_site.py validate-modules:parameter-type-not-in-doc
plugins/modules/cloud/xenserver/xenserver_guest.py validate-modules:doc-choices-do-not-match-spec plugins/modules/cloud/xenserver/xenserver_guest.py validate-modules:doc-choices-do-not-match-spec
plugins/modules/cloud/xenserver/xenserver_guest.py validate-modules:doc-required-mismatch plugins/modules/cloud/xenserver/xenserver_guest.py validate-modules:doc-required-mismatch
plugins/modules/cloud/xenserver/xenserver_guest.py validate-modules:missing-suboption-docs plugins/modules/cloud/xenserver/xenserver_guest.py validate-modules:missing-suboption-docs
plugins/modules/cloud/xenserver/xenserver_guest.py validate-modules:parameter-type-not-in-doc plugins/modules/cloud/xenserver/xenserver_guest.py validate-modules:parameter-type-not-in-doc
plugins/modules/cloud/xenserver/xenserver_guest.py validate-modules:undocumented-parameter plugins/modules/cloud/xenserver/xenserver_guest.py validate-modules:undocumented-parameter
plugins/modules/clustering/consul/consul.py validate-modules:doc-missing-type plugins/modules/clustering/consul/consul.py validate-modules:doc-missing-type
plugins/modules/clustering/consul/consul.py validate-modules:parameter-list-no-elements
plugins/modules/clustering/consul/consul.py validate-modules:undocumented-parameter plugins/modules/clustering/consul/consul.py validate-modules:undocumented-parameter
plugins/modules/clustering/consul/consul_acl.py validate-modules:doc-missing-type
plugins/modules/clustering/consul/consul_acl.py validate-modules:parameter-list-no-elements
plugins/modules/clustering/consul/consul_kv.py validate-modules:parameter-type-not-in-doc
plugins/modules/clustering/consul/consul_session.py validate-modules:parameter-list-no-elements
plugins/modules/clustering/consul/consul_session.py validate-modules:parameter-state-invalid-choice plugins/modules/clustering/consul/consul_session.py validate-modules:parameter-state-invalid-choice
plugins/modules/clustering/etcd3.py validate-modules:parameter-type-not-in-doc
plugins/modules/clustering/znode.py validate-modules:doc-missing-type
plugins/modules/clustering/znode.py validate-modules:parameter-type-not-in-doc
plugins/modules/monitoring/bigpanda.py validate-modules:invalid-argument-name plugins/modules/monitoring/bigpanda.py validate-modules:invalid-argument-name
plugins/modules/monitoring/datadog/datadog_event.py validate-modules:parameter-list-no-elements
plugins/modules/monitoring/datadog/datadog_monitor.py validate-modules:invalid-argument-name plugins/modules/monitoring/datadog/datadog_monitor.py validate-modules:invalid-argument-name
plugins/modules/monitoring/datadog/datadog_monitor.py validate-modules:parameter-list-no-elements
plugins/modules/monitoring/icinga2_host.py validate-modules:undocumented-parameter
plugins/modules/monitoring/sensu/sensu_check.py validate-modules:parameter-list-no-elements
plugins/modules/monitoring/sensu/sensu_client.py validate-modules:parameter-list-no-elements
plugins/modules/monitoring/sensu/sensu_handler.py validate-modules:parameter-list-no-elements
plugins/modules/net_tools/ldap/ldap_attr.py validate-modules:parameter-type-not-in-doc # This triggers when a parameter is undocumented plugins/modules/net_tools/ldap/ldap_attr.py validate-modules:parameter-type-not-in-doc # This triggers when a parameter is undocumented
plugins/modules/net_tools/ldap/ldap_attr.py validate-modules:undocumented-parameter # Parameter removed but reason for removal is shown by custom code plugins/modules/net_tools/ldap/ldap_attr.py validate-modules:undocumented-parameter # Parameter removed but reason for removal is shown by custom code
plugins/modules/net_tools/ldap/ldap_entry.py validate-modules:doc-missing-type plugins/modules/net_tools/ldap/ldap_entry.py validate-modules:doc-missing-type
@ -159,13 +124,7 @@ plugins/modules/net_tools/ldap/ldap_entry.py validate-modules:undocumented-param
plugins/modules/notification/cisco_webex.py validate-modules:invalid-argument-name plugins/modules/notification/cisco_webex.py validate-modules:invalid-argument-name
plugins/modules/notification/grove.py validate-modules:invalid-argument-name plugins/modules/notification/grove.py validate-modules:invalid-argument-name
plugins/modules/notification/grove.py validate-modules:nonexistent-parameter-documented plugins/modules/notification/grove.py validate-modules:nonexistent-parameter-documented
plugins/modules/notification/pushbullet.py validate-modules:parameter-type-not-in-doc
plugins/modules/notification/pushbullet.py validate-modules:undocumented-parameter
plugins/modules/packaging/language/bundler.py validate-modules:parameter-list-no-elements
plugins/modules/packaging/language/composer.py validate-modules:parameter-invalid plugins/modules/packaging/language/composer.py validate-modules:parameter-invalid
plugins/modules/packaging/language/maven_artifact.py validate-modules:parameter-type-not-in-doc
plugins/modules/packaging/language/maven_artifact.py validate-modules:undocumented-parameter
plugins/modules/packaging/language/pip_package_info.py validate-modules:parameter-list-no-elements
plugins/modules/packaging/os/apt_rpm.py validate-modules:parameter-invalid plugins/modules/packaging/os/apt_rpm.py validate-modules:parameter-invalid
plugins/modules/packaging/os/homebrew.py validate-modules:parameter-invalid plugins/modules/packaging/os/homebrew.py validate-modules:parameter-invalid
plugins/modules/packaging/os/homebrew_cask.py validate-modules:parameter-invalid plugins/modules/packaging/os/homebrew_cask.py validate-modules:parameter-invalid
@ -178,8 +137,6 @@ plugins/modules/packaging/os/xbps.py validate-modules:parameter-invalid
plugins/modules/remote_management/hpilo/hpilo_boot.py validate-modules:parameter-type-not-in-doc plugins/modules/remote_management/hpilo/hpilo_boot.py validate-modules:parameter-type-not-in-doc
plugins/modules/remote_management/hpilo/hpilo_info.py validate-modules:parameter-type-not-in-doc plugins/modules/remote_management/hpilo/hpilo_info.py validate-modules:parameter-type-not-in-doc
plugins/modules/remote_management/hpilo/hponcfg.py validate-modules:parameter-type-not-in-doc plugins/modules/remote_management/hpilo/hponcfg.py validate-modules:parameter-type-not-in-doc
plugins/modules/remote_management/lxca/lxca_cmms.py validate-modules:doc-missing-type
plugins/modules/remote_management/lxca/lxca_nodes.py validate-modules:doc-missing-type
plugins/modules/remote_management/manageiq/manageiq_alert_profiles.py validate-modules:parameter-list-no-elements plugins/modules/remote_management/manageiq/manageiq_alert_profiles.py validate-modules:parameter-list-no-elements
plugins/modules/remote_management/manageiq/manageiq_policies.py validate-modules:parameter-list-no-elements plugins/modules/remote_management/manageiq/manageiq_policies.py validate-modules:parameter-list-no-elements
plugins/modules/remote_management/manageiq/manageiq_policies.py validate-modules:parameter-state-invalid-choice plugins/modules/remote_management/manageiq/manageiq_policies.py validate-modules:parameter-state-invalid-choice

View file

@ -93,11 +93,6 @@ plugins/modules/cloud/ovirt/ovirt_vm_facts.py validate-modules:parameter-type-no
plugins/modules/cloud/ovirt/ovirt_vmpool_facts.py validate-modules:deprecation-mismatch plugins/modules/cloud/ovirt/ovirt_vmpool_facts.py validate-modules:deprecation-mismatch
plugins/modules/cloud/ovirt/ovirt_vmpool_facts.py validate-modules:doc-missing-type plugins/modules/cloud/ovirt/ovirt_vmpool_facts.py validate-modules:doc-missing-type
plugins/modules/cloud/ovirt/ovirt_vmpool_facts.py validate-modules:invalid-documentation plugins/modules/cloud/ovirt/ovirt_vmpool_facts.py validate-modules:invalid-documentation
plugins/modules/cloud/packet/packet_sshkey.py validate-modules:doc-missing-type
plugins/modules/cloud/packet/packet_sshkey.py validate-modules:parameter-type-not-in-doc
plugins/modules/cloud/packet/packet_sshkey.py validate-modules:undocumented-parameter
plugins/modules/cloud/profitbricks/profitbricks_volume.py validate-modules:doc-missing-type
plugins/modules/cloud/profitbricks/profitbricks_volume.py validate-modules:undocumented-parameter
plugins/modules/cloud/rackspace/rax.py use-argspec-type-path plugins/modules/cloud/rackspace/rax.py use-argspec-type-path
plugins/modules/cloud/rackspace/rax.py validate-modules:doc-missing-type plugins/modules/cloud/rackspace/rax.py validate-modules:doc-missing-type
plugins/modules/cloud/rackspace/rax.py validate-modules:undocumented-parameter plugins/modules/cloud/rackspace/rax.py validate-modules:undocumented-parameter
@ -139,25 +134,12 @@ plugins/modules/cloud/spotinst/spotinst_aws_elastigroup.py validate-modules:undo
plugins/modules/cloud/univention/udm_dns_record.py validate-modules:parameter-type-not-in-doc plugins/modules/cloud/univention/udm_dns_record.py validate-modules:parameter-type-not-in-doc
plugins/modules/cloud/univention/udm_dns_zone.py validate-modules:parameter-type-not-in-doc plugins/modules/cloud/univention/udm_dns_zone.py validate-modules:parameter-type-not-in-doc
plugins/modules/cloud/univention/udm_dns_zone.py validate-modules:undocumented-parameter plugins/modules/cloud/univention/udm_dns_zone.py validate-modules:undocumented-parameter
plugins/modules/cloud/webfaction/webfaction_app.py validate-modules:doc-missing-type
plugins/modules/cloud/webfaction/webfaction_db.py validate-modules:doc-missing-type
plugins/modules/cloud/webfaction/webfaction_domain.py validate-modules:doc-missing-type
plugins/modules/cloud/webfaction/webfaction_domain.py validate-modules:parameter-type-not-in-doc
plugins/modules/cloud/webfaction/webfaction_mailbox.py validate-modules:doc-missing-type
plugins/modules/cloud/webfaction/webfaction_site.py validate-modules:doc-missing-type
plugins/modules/cloud/webfaction/webfaction_site.py validate-modules:parameter-type-not-in-doc
plugins/modules/cloud/xenserver/xenserver_guest.py validate-modules:doc-choices-do-not-match-spec plugins/modules/cloud/xenserver/xenserver_guest.py validate-modules:doc-choices-do-not-match-spec
plugins/modules/cloud/xenserver/xenserver_guest.py validate-modules:missing-suboption-docs plugins/modules/cloud/xenserver/xenserver_guest.py validate-modules:missing-suboption-docs
plugins/modules/cloud/xenserver/xenserver_guest.py validate-modules:parameter-type-not-in-doc plugins/modules/cloud/xenserver/xenserver_guest.py validate-modules:parameter-type-not-in-doc
plugins/modules/cloud/xenserver/xenserver_guest.py validate-modules:undocumented-parameter plugins/modules/cloud/xenserver/xenserver_guest.py validate-modules:undocumented-parameter
plugins/modules/clustering/consul/consul.py validate-modules:doc-missing-type plugins/modules/clustering/consul/consul.py validate-modules:doc-missing-type
plugins/modules/clustering/consul/consul.py validate-modules:undocumented-parameter plugins/modules/clustering/consul/consul.py validate-modules:undocumented-parameter
plugins/modules/clustering/consul/consul_acl.py validate-modules:doc-missing-type
plugins/modules/clustering/consul/consul_kv.py validate-modules:parameter-type-not-in-doc
plugins/modules/clustering/etcd3.py validate-modules:parameter-type-not-in-doc
plugins/modules/clustering/znode.py validate-modules:doc-missing-type
plugins/modules/clustering/znode.py validate-modules:parameter-type-not-in-doc
plugins/modules/monitoring/icinga2_host.py validate-modules:undocumented-parameter
plugins/modules/net_tools/ldap/ldap_attr.py validate-modules:deprecation-mismatch plugins/modules/net_tools/ldap/ldap_attr.py validate-modules:deprecation-mismatch
plugins/modules/net_tools/ldap/ldap_attr.py validate-modules:invalid-documentation plugins/modules/net_tools/ldap/ldap_attr.py validate-modules:invalid-documentation
plugins/modules/net_tools/ldap/ldap_attr.py validate-modules:parameter-type-not-in-doc plugins/modules/net_tools/ldap/ldap_attr.py validate-modules:parameter-type-not-in-doc
@ -165,10 +147,7 @@ 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: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: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/ldap/ldap_entry.py validate-modules:undocumented-parameter # Parameter removed but reason for removal is shown by custom code
plugins/modules/notification/pushbullet.py validate-modules:parameter-type-not-in-doc
plugins/modules/notification/pushbullet.py validate-modules:undocumented-parameter
plugins/modules/packaging/language/composer.py validate-modules:parameter-invalid plugins/modules/packaging/language/composer.py validate-modules:parameter-invalid
plugins/modules/packaging/language/maven_artifact.py validate-modules:parameter-type-not-in-doc
plugins/modules/packaging/os/apt_rpm.py validate-modules:parameter-invalid plugins/modules/packaging/os/apt_rpm.py validate-modules:parameter-invalid
plugins/modules/packaging/os/homebrew.py validate-modules:parameter-invalid plugins/modules/packaging/os/homebrew.py validate-modules:parameter-invalid
plugins/modules/packaging/os/homebrew_cask.py validate-modules:parameter-invalid plugins/modules/packaging/os/homebrew_cask.py validate-modules:parameter-invalid
@ -181,8 +160,6 @@ plugins/modules/packaging/os/xbps.py validate-modules:parameter-invalid
plugins/modules/remote_management/hpilo/hpilo_boot.py validate-modules:parameter-type-not-in-doc plugins/modules/remote_management/hpilo/hpilo_boot.py validate-modules:parameter-type-not-in-doc
plugins/modules/remote_management/hpilo/hpilo_info.py validate-modules:parameter-type-not-in-doc plugins/modules/remote_management/hpilo/hpilo_info.py validate-modules:parameter-type-not-in-doc
plugins/modules/remote_management/hpilo/hponcfg.py validate-modules:parameter-type-not-in-doc plugins/modules/remote_management/hpilo/hponcfg.py validate-modules:parameter-type-not-in-doc
plugins/modules/remote_management/lxca/lxca_cmms.py validate-modules:doc-missing-type
plugins/modules/remote_management/lxca/lxca_nodes.py validate-modules:doc-missing-type
plugins/modules/remote_management/manageiq/manageiq_provider.py validate-modules:doc-choices-do-not-match-spec plugins/modules/remote_management/manageiq/manageiq_provider.py validate-modules:doc-choices-do-not-match-spec
plugins/modules/remote_management/manageiq/manageiq_provider.py validate-modules:doc-missing-type plugins/modules/remote_management/manageiq/manageiq_provider.py validate-modules:doc-missing-type
plugins/modules/remote_management/manageiq/manageiq_provider.py validate-modules:parameter-type-not-in-doc plugins/modules/remote_management/manageiq/manageiq_provider.py validate-modules:parameter-type-not-in-doc