Skip to content

Commit

Permalink
Fix non-matching defaults. (#5452)
Browse files Browse the repository at this point in the history
  • Loading branch information
felixfontein committed Nov 1, 2022
1 parent 5f4e593 commit f84a9bf
Show file tree
Hide file tree
Showing 75 changed files with 134 additions and 20 deletions.
2 changes: 2 additions & 0 deletions plugins/doc_fragments/influxdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ class ModuleDocFragment(object):
- The path on which InfluxDB server is accessible
- Only available when using python-influxdb >= 5.1.0
type: str
default: ''
version_added: '0.2.0'
validate_certs:
description:
Expand Down Expand Up @@ -80,4 +81,5 @@ class ModuleDocFragment(object):
description:
- HTTP(S) proxy to use for Requests to connect to InfluxDB server.
type: dict
default: {}
'''
1 change: 1 addition & 0 deletions plugins/doc_fragments/ldap.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ class ModuleDocFragment(object):
description:
- The password to use with I(bind_dn).
type: str
default: ''
dn:
required: true
description:
Expand Down
1 change: 1 addition & 0 deletions plugins/doc_fragments/utm.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ class ModuleDocFragment(object):
- Is needed for some modules
type: dict
required: false
default: {}
utm_host:
description:
- The REST Endpoint of the Sophos UTM.
Expand Down
1 change: 1 addition & 0 deletions plugins/modules/cloud/atomic/atomic_container.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
- The values specified here will be used at installation time as --set arguments for atomic install.
type: list
elements: str
default: []
'''

EXAMPLES = r'''
Expand Down
3 changes: 3 additions & 0 deletions plugins/modules/cloud/dimensiondata/dimensiondata_vlan.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
description:
- A description of the VLAN.
type: str
default: ''
network_domain:
description:
- The Id or name of the target network domain.
Expand All @@ -40,11 +41,13 @@
description:
- The base address for the VLAN's IPv4 network (e.g. 192.168.1.0).
type: str
default: ''
private_ipv4_prefix_size:
description:
- The size of the IPv4 address space, e.g 24.
- Required, if C(private_ipv4_base_address) is specified.
type: int
default: 0
state:
description:
- The desired state for the target VLAN.
Expand Down
1 change: 1 addition & 0 deletions plugins/modules/cloud/huawei/hwc_ecs_instance.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
description:
- The timeouts for each operations.
type: dict
default: {}
suboptions:
create:
description:
Expand Down
1 change: 1 addition & 0 deletions plugins/modules/cloud/huawei/hwc_evs_disk.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
description:
- The timeouts for each operations.
type: dict
default: {}
suboptions:
create:
description:
Expand Down
1 change: 1 addition & 0 deletions plugins/modules/cloud/huawei/hwc_network_vpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
description:
- The timeouts for each operations.
type: dict
default: {}
suboptions:
create:
description:
Expand Down
1 change: 1 addition & 0 deletions plugins/modules/cloud/huawei/hwc_vpc_eip.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
description:
- The timeouts for each operations.
type: dict
default: {}
suboptions:
create:
description:
Expand Down
1 change: 1 addition & 0 deletions plugins/modules/cloud/huawei/hwc_vpc_peering_connect.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
description:
- The timeouts for each operations.
type: dict
default: {}
suboptions:
create:
description:
Expand Down
1 change: 1 addition & 0 deletions plugins/modules/cloud/huawei/hwc_vpc_port.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
description:
- The timeouts for each operations.
type: dict
default: {}
suboptions:
create:
description:
Expand Down
1 change: 1 addition & 0 deletions plugins/modules/cloud/huawei/hwc_vpc_subnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
description:
- The timeouts for each operations.
type: dict
default: {}
suboptions:
create:
description:
Expand Down
1 change: 1 addition & 0 deletions plugins/modules/cloud/linode/linode.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
description:
- Add the instance to a Display Group in Linode Manager.
type: str
default: ''
linode_id:
description:
- Unique ID of a linode server. This value is read-only in the sense that
Expand Down
1 change: 1 addition & 0 deletions plugins/modules/cloud/memset/memset_zone.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
- The default TTL for all records created in the zone. This must be a
valid int from U(https://www.memset.com/apidocs/methods_dns.html#dns.zone_create).
type: int
default: 0
choices: [ 0, 300, 600, 900, 1800, 3600, 7200, 10800, 21600, 43200, 86400 ]
force:
required: false
Expand Down
3 changes: 3 additions & 0 deletions plugins/modules/cloud/memset/memset_zone_record.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,13 @@
description:
- C(SRV) and C(TXT) record priority, in the range 0 > 999 (inclusive).
type: int
default: 0
record:
required: false
description:
- The subdomain to create.
type: str
default: ''
type:
required: true
description:
Expand All @@ -65,6 +67,7 @@
description:
- The record's TTL in seconds (will inherit zone's TTL if not explicitly set). This must be a
valid int from U(https://www.memset.com/apidocs/methods_dns.html#dns.zone_record_create).
default: 0
choices: [ 0, 300, 600, 900, 1800, 3600, 7200, 10800, 21600, 43200, 86400 ]
type: int
zone:
Expand Down
1 change: 1 addition & 0 deletions plugins/modules/cloud/misc/rhevm.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
description:
- The RHEV/oVirt cluster in which you want you VM to start.
type: str
default: ''
datacenter:
description:
- The RHEV/oVirt datacenter in which you want you VM to start.
Expand Down
2 changes: 2 additions & 0 deletions plugins/modules/cloud/misc/serverless.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,13 @@
- The name of the serverless framework project stage to deploy to.
- This uses the serverless framework default "dev".
type: str
default: ''
region:
description:
- AWS region to deploy the service to.
- This parameter defaults to C(us-east-1).
type: str
default: ''
deploy:
description:
- Whether or not to deploy artifacts after building them.
Expand Down
1 change: 1 addition & 0 deletions plugins/modules/cloud/misc/terraform.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@
resources selected here will also auto-include any dependencies.
type: list
elements: str
default: []
lock:
description:
- Enable statefile locking, if you use a service that accepts locks (such
Expand Down
5 changes: 5 additions & 0 deletions plugins/modules/cloud/oneandone/oneandone_firewall_policy.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,32 +48,37 @@
(port_from, port_to, and source)
type: list
elements: dict
default: []
add_server_ips:
description:
- A list of server identifiers (id or name) to be assigned to a firewall policy.
Used in combination with update state.
type: list
elements: str
required: false
default: []
remove_server_ips:
description:
- A list of server IP ids to be unassigned from a firewall policy. Used in combination with update state.
type: list
elements: str
required: false
default: []
add_rules:
description:
- 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.
type: list
elements: dict
required: false
default: []
remove_rules:
description:
- A list of rule ids that will be removed from an existing firewall policy. Used in combination with update state.
type: list
elements: str
required: false
default: []
description:
description:
- Firewall policy description. maxLength=256
Expand Down
5 changes: 5 additions & 0 deletions plugins/modules/cloud/oneandone/oneandone_load_balancer.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@
port_balancer, and port_server parameters, in addition to source parameter, which is optional.
type: list
elements: dict
default: []
description:
description:
- Description of the load balancer. maxLength=256
Expand All @@ -98,25 +99,29 @@
type: list
elements: str
required: false
default: []
remove_server_ips:
description:
- A list of server IP ids to be unassigned from a load balancer. Used in combination with update state.
type: list
elements: str
required: false
default: []
add_rules:
description:
- 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.
type: list
elements: dict
required: false
default: []
remove_rules:
description:
- A list of rule ids that will be removed from an existing load balancer. Used in combination with update state.
type: list
elements: str
required: false
default: []
wait:
description:
- wait for the instance to be in state 'running' before returning
Expand Down
11 changes: 11 additions & 0 deletions plugins/modules/cloud/oneandone/oneandone_monitoring_policy.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
and value is used to advise when the value is exceeded.
type: list
elements: dict
default: []
suboptions:
cpu:
description:
Expand All @@ -88,6 +89,7 @@
- Array of ports that will be monitoring.
type: list
elements: dict
default: []
suboptions:
protocol:
description:
Expand All @@ -112,6 +114,7 @@
- Array of processes that will be monitoring.
type: list
elements: dict
default: []
suboptions:
process:
description:
Expand All @@ -128,48 +131,56 @@
type: list
elements: dict
required: false
default: []
add_processes:
description:
- Processes to add to the monitoring policy.
type: list
elements: dict
required: false
default: []
add_servers:
description:
- Servers to add to the monitoring policy.
type: list
elements: str
required: false
default: []
remove_ports:
description:
- Ports to remove from the monitoring policy.
type: list
elements: str
required: false
default: []
remove_processes:
description:
- Processes to remove from the monitoring policy.
type: list
elements: str
required: false
default: []
remove_servers:
description:
- Servers to remove from the monitoring policy.
type: list
elements: str
required: false
default: []
update_ports:
description:
- Ports to be updated on the monitoring policy.
type: list
elements: dict
required: false
default: []
update_processes:
description:
- Processes to be updated on the monitoring policy.
type: list
elements: dict
required: false
default: []
wait:
description:
- wait for the instance to be in state 'running' before returning
Expand Down
2 changes: 2 additions & 0 deletions plugins/modules/cloud/oneandone/oneandone_private_network.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,13 @@
- List of server identifiers (name or id) to be added to the private network.
type: list
elements: str
default: []
remove_members:
description:
- List of server identifiers (name or id) to be removed from the private network.
type: list
elements: str
default: []
wait:
description:
- wait for the instance to be in state 'running' before returning
Expand Down
1 change: 1 addition & 0 deletions plugins/modules/cloud/packet/packet_device.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@
- URL of custom iPXE script for provisioning.
- More about custom iPXE for Packet devices at U(https://help.packet.net/technical/infrastructure/custom-ipxe).
type: str
default: ''
always_pxe:
description:
Expand Down
2 changes: 2 additions & 0 deletions plugins/modules/cloud/profitbricks/profitbricks.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
- Public SSH keys allowing access to the virtual machine.
type: list
elements: str
default: []
datacenter:
description:
- The datacenter to provision this virtual machine.
Expand Down Expand Up @@ -74,6 +75,7 @@
- list of instance ids, currently only used when state='absent' to remove instances.
type: list
elements: str
default: []
count:
description:
- The number of virtual machines to create.
Expand Down
4 changes: 2 additions & 2 deletions plugins/modules/cloud/profitbricks/profitbricks_volume.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
- Public SSH keys allowing access to the virtual machine.
type: list
elements: str
required: false
default: []
disk_type:
description:
- The disk type of the volume.
Expand Down Expand Up @@ -81,7 +81,7 @@
- list of instance ids, currently only used when state='absent' to remove instances.
type: list
elements: str
required: false
default: []
subscription_user:
description:
- The ProfitBricks username. Overrides the PB_SUBSCRIPTION_ID environment variable.
Expand Down
Loading

0 comments on commit f84a9bf

Please sign in to comment.