Add version_added for all new features (#214)

* Add version_added: 1.0.0 for all new features added before pre-ansible-base.

* Add version_added: 1.0.0 for all new features.

* Next release will be 0.2.0

* Fix error.

* Remove unnecessary warnings.
This commit is contained in:
Felix Fontein 2020-06-13 15:01:19 +02:00 committed by GitHub
commit f9589d78a8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
102 changed files with 220 additions and 10 deletions

View file

@ -102,6 +102,7 @@ options:
The sequential suffix ranges from 001 to 999.
default: False
type: bool
version_added: '0.2.0'
password:
description:
- The password to login instance. After rebooting instances, modified password will take effect.
@ -182,12 +183,14 @@ options:
- A hash/dictionaries of instance tags, to add to the new instance or for starting/stopping instance by tag. C({"key":"value"})
aliases: ["instance_tags"]
type: dict
version_added: '0.2.0'
purge_tags:
description:
- Delete any tags not specified in the task that are on the instance.
If True, it means you have to specify all the desired tags on each task affecting an instance.
default: False
type: bool
version_added: '0.2.0'
key_name:
description:
- The name of key pair which is used to access ECS instance in SSH.
@ -204,23 +207,27 @@ options:
description:
- The name of the instance RAM role.
type: str
version_added: '0.2.0'
spot_price_limit:
description:
- The maximum hourly price for the preemptible instance. This parameter supports a maximum of three decimal
places and takes effect when the SpotStrategy parameter is set to SpotWithPriceLimit.
type: float
version_added: '0.2.0'
spot_strategy:
description:
- The bidding mode of the pay-as-you-go instance. This parameter is valid when InstanceChargeType is set to PostPaid.
choices: ['NoSpot', 'SpotWithPriceLimit', 'SpotAsPriceGo']
default: 'NoSpot'
type: str
version_added: '0.2.0'
period_unit:
description:
- The duration unit that you will buy the resource. It is valid when C(instance_charge_type=PrePaid)
choices: ['Month', 'Week']
default: 'Month'
type: str
version_added: '0.2.0'
dry_run:
description:
- Specifies whether to send a dry-run request.
@ -230,11 +237,13 @@ options:
- If I(dry_run=False), A request is sent. If the validation succeeds, the instance is created.
default: False
type: bool
version_added: '0.2.0'
include_data_disks:
description:
- Whether to change instance disks charge type when changing instance charge type.
default: True
type: bool
version_added: '0.2.0'
author:
- "He Guimin (@xiaozhu36)"
requirements:

View file

@ -54,6 +54,7 @@ options:
description:
- Use a instance name prefix to filter ecs instances.
type: str
version_added: '0.2.0'
tags:
description:
- A hash/dictionaries of instance tags. C({"key":"value"})
@ -67,6 +68,7 @@ options:
connect different words in one parameter. 'InstanceIds' should be a list and it will be appended to
I(instance_ids) automatically. 'Tag.n.Key' and 'Tag.n.Value' should be a dict and using I(tags) instead.
type: dict
version_added: '0.2.0'
author:
- "He Guimin (@xiaozhu36)"
requirements:

View file

@ -58,6 +58,7 @@ options:
If omitted, the region of the project default zone is used.
This parameter must be omitted if I(type) is set to C(global).
type: str
version_added: '0.2.0'
prefix_length:
description:
- Only valid if I(ip_version) is 6.
@ -153,6 +154,7 @@ region:
returned: success when state == present
type: dict
sample: {'slug': 'lpg'}
version_added: '0.2.0'
state:
description: The current status of the floating IP.
returned: success

View file

@ -54,6 +54,7 @@ options:
description:
- Zone in which the server resides (e.g. C(lgp1) or C(rma1)).
type: str
version_added: '0.2.0'
volume_size_gb:
description:
- Size of the root volume in GB.
@ -220,6 +221,7 @@ zone:
returned: success when not state == absent
type: dict
sample: { 'slug': 'lpg1' }
version_added: '0.2.0'
volumes:
description: List of volumes attached to the server
returned: success when not state == absent

View file

@ -37,6 +37,7 @@ options:
description:
- Zone slug of the server group (e.g. C(lgp1) or C(rma1)).
type: str
version_added: '0.2.0'
state:
description:
- State of the server group.
@ -101,6 +102,7 @@ zone:
returned: success
type: dict
sample: { 'slug': 'rma1' }
version_added: '0.2.0'
servers:
description: A list of servers that are part of the server group.
returned: if available

View file

@ -56,6 +56,7 @@ options:
- Zone in which the volume resides (e.g. C(lgp1) or C(rma1)). Cannot be
changed after creating the volume. Defaults to the project default zone.
type: str
version_added: '0.2.0'
server_uuids:
description:
- UUIDs of the servers this volume is attached to. Set this to C([]) to
@ -146,6 +147,7 @@ zone:
returned: state == present
type: dict
sample: {'slug': 'lpg1'}
version_added: '0.2.0'
server_uuids:
description: The UUIDs of the servers this volume is attached to.
returned: state == present

View file

@ -98,6 +98,7 @@ options:
choices:
- compatibility
- no_defaults
version_added: '0.2.0'
cpu_period:
description:
- Limit CPU CFS (Completely Fair Scheduler) period.
@ -113,6 +114,7 @@ options:
- Specify how much of the available CPU resources a container can use.
- A value of C(1.5) means that at most one and a half CPU (core) will be used.
type: float
version_added: '0.2.0'
cpuset_cpus:
description:
- CPUs in which to allow execution C(1,3) or C(1-3).
@ -669,6 +671,7 @@ options:
removed. If the container is still in the removal phase after this many seconds, the module will
fail.
type: float
version_added: '0.2.0'
restart:
description:
- Use with started state to force a matching container to be stopped and restarted.

View file

@ -190,6 +190,7 @@ options:
- Corresponds to the C(--init) option of C(docker service create).
- Requires API version >= 1.37.
type: bool
version_added: '0.2.0'
labels:
description:
- Dictionary of key value pairs.

View file

@ -18,6 +18,7 @@ module: hwc_ecs_instance
description:
- instance management.
short_description: Creates a resource of Ecs/Instance in Huawei Cloud
version_added: '0.2.0'
author: Huawei Inc. (@huaweicloud)
requirements:
- keystoneauth1 >= 3.6.0

View file

@ -18,6 +18,7 @@ module: hwc_evs_disk
description:
- block storage management.
short_description: Creates a resource of Evs/Disk in Huawei Cloud
version_added: '0.2.0'
author: Huawei Inc. (@huaweicloud)
requirements:
- keystoneauth1 >= 3.6.0

View file

@ -18,6 +18,7 @@ module: hwc_vpc_eip
description:
- elastic ip management.
short_description: Creates a resource of Vpc/EIP in Huawei Cloud
version_added: '0.2.0'
author: Huawei Inc. (@huaweicloud)
requirements:
- keystoneauth1 >= 3.6.0

View file

@ -19,6 +19,7 @@ module: hwc_vpc_peering_connect
description:
- vpc peering management.
short_description: Creates a resource of Vpc/PeeringConnect in Huawei Cloud
version_added: '0.2.0'
author: Huawei Inc. (@huaweicloud)
requirements:
- keystoneauth1 >= 3.6.0

View file

@ -18,6 +18,7 @@ module: hwc_vpc_port
description:
- vpc port management.
short_description: Creates a resource of Vpc/Port in Huawei Cloud
version_added: '0.2.0'
author: Huawei Inc. (@huaweicloud)
requirements:
- keystoneauth1 >= 3.6.0

View file

@ -22,6 +22,7 @@ notes:
- If I(id) option is provided, it takes precedence over I(subnet_id), I(ip_address) for private ip selection.
- I(subnet_id), I(ip_address) are used for private ip selection. If more than one private ip with this options exists, execution is aborted.
- No parameter support updating. If one of option is changed, the module will create a new resource.
version_added: '0.2.0'
author: Huawei Inc. (@huaweicloud)
requirements:
- keystoneauth1 >= 3.6.0

View file

@ -22,6 +22,7 @@ notes:
- If I(id) option is provided, it takes precedence over I(destination), I(vpc_id), I(type) and I(next_hop) for route selection.
- I(destination), I(vpc_id), I(type) and I(next_hop) are used for route selection. If more than one route with this options exists, execution is aborted.
- No parameter support updating. If one of option is changed, the module will create a new resource.
version_added: '0.2.0'
author: Huawei Inc. (@huaweicloud)
requirements:
- keystoneauth1 >= 3.6.0

View file

@ -26,6 +26,7 @@ notes:
execution is aborted.
- No parameter support updating. If one of option is changed, the module
will create a new resource.
version_added: '0.2.0'
author: Huawei Inc. (@huaweicloud)
requirements:
- keystoneauth1 >= 3.6.0

View file

@ -26,6 +26,7 @@ notes:
aborted.
- No parameter support updating. If one of option is changed, the module
will create a new resource.
version_added: '0.2.0'
author: Huawei Inc. (@huaweicloud)
requirements:
- keystoneauth1 >= 3.6.0

View file

@ -18,6 +18,7 @@ module: hwc_vpc_subnet
description:
- subnet management.
short_description: Creates a resource of Vpc/Subnet in Huawei Cloud
version_added: '0.2.0'
author: Huawei Inc. (@huaweicloud)
requirements:
- keystoneauth1 >= 3.6.0

View file

@ -134,10 +134,12 @@ options:
- Specify the description for the container. Only used on the configuration web interface.
- This is saved as a comment inside the configuration file.
type: str
version_added: '0.2.0'
hookscript:
description:
- Script that will be executed during various steps in the containers lifetime.
type: str
version_added: '0.2.0'
notes:
- Requires proxmoxer and requests modules on host. This modules can be installed with pip.

View file

@ -55,6 +55,7 @@ options:
description:
- The path to a variables file for Terraform to fill into the TF
configurations. This can accept a list of paths to multiple variables files.
- Up until Ansible 2.9, this option was usable as I(variables_file).
type: list
elements: path
aliases: [ 'variables_file' ]
@ -91,6 +92,7 @@ options:
This can accept a list of paths to multiple configuration files.
type: list
elements: path
version_added: '0.2.0'
notes:
- To just run a `terraform plan`, use check mode.
requirements: [ "terraform" ]

View file

@ -172,12 +172,15 @@ options:
- Create a private persistent copy of the template plus any image defined in DISK, and instantiate that copy.
default: NO
type: bool
version_added: '0.2.0'
datastore_id:
description:
- Name of Datastore to use to create a new instace
version_added: '0.2.0'
datastore_name:
description:
- Name of Datastore to use to create a new instace
version_added: '0.2.0'
author:
- "Milan Ilic (@ilicmilan)"
- "Jan Meerkamp (@meerkampdvv)"

View file

@ -12,6 +12,7 @@ DOCUMENTATION = '''
---
module: ovh_monthly_billing
author: Francois Lallart (@fraff)
version_added: '0.2.0'
short_description: Manage OVH monthly billing
description:
- Enable monthly billing on OVH cloud intances (be aware OVH does not allow to disable it).

View file

@ -52,6 +52,7 @@ options:
- Currently implemented only for device creation.
type: list
elements: str
version_added: '0.2.0'
facility:
description:

View file

@ -21,6 +21,7 @@ description:
- IPv6 subnets must come from publicly routable /56 block from your project.
- See U(https://support.packet.com/kb/articles/elastic-ips) for more info on IP block reservation.
version_added: '0.2.0'
author:
- Tomas Karasek (@t0mk) <tom.to.the.k@gmail.com>

View file

@ -19,6 +19,7 @@ description:
- Create/delete a project in Packet host.
- API is documented at U(https://www.packet.com/developers/api/#projects).
version_added: '0.2.0'
author:
- Tomas Karasek (@t0mk) <tom.to.the.k@gmail.com>

View file

@ -18,6 +18,7 @@ description:
- Create/delete a volume in Packet host.
- API is documented at U(https://www.packet.com/developers/api/#volumes).
version_added: '0.2.0'
author:
- Tomas Karasek (@t0mk) <tom.to.the.k@gmail.com>

View file

@ -22,6 +22,7 @@ description:
the block devices on the server, you have to run the Attach Scripts,
as documented at U(https://help.packet.net/technical/storage/packet-block-storage-linux)."
version_added: '0.2.0'
author:
- Tomas Karasek (@t0mk) <tom.to.the.k@gmail.com>

View file

@ -61,6 +61,7 @@ options:
flavor:
description:
- Specify which SoftLayer flavor template to use instead of cpus and memory.
version_added: '0.2.0'
disks:
description:
- List of disk sizes to be assigned to new virtual instance.