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
parent 0bb0a748b9
commit 967e40b249
2 changed files with 4 additions and 0 deletions

View File

@ -98,6 +98,7 @@ options:
choices: choices:
- compatibility - compatibility
- no_defaults - no_defaults
version_added: '0.2.0'
cpu_period: cpu_period:
description: description:
- Limit CPU CFS (Completely Fair Scheduler) period. - Limit CPU CFS (Completely Fair Scheduler) period.
@ -113,6 +114,7 @@ options:
- Specify how much of the available CPU resources a container can use. - 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. - A value of C(1.5) means that at most one and a half CPU (core) will be used.
type: float type: float
version_added: '0.2.0'
cpuset_cpus: cpuset_cpus:
description: description:
- CPUs in which to allow execution C(1,3) or C(1-3). - 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 removed. If the container is still in the removal phase after this many seconds, the module will
fail. fail.
type: float type: float
version_added: '0.2.0'
restart: restart:
description: description:
- Use with started state to force a matching container to be stopped and restarted. - 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). - Corresponds to the C(--init) option of C(docker service create).
- Requires API version >= 1.37. - Requires API version >= 1.37.
type: bool type: bool
version_added: '0.2.0'
labels: labels:
description: description:
- Dictionary of key value pairs. - Dictionary of key value pairs.