From 967e40b24971ddce5ab798cd4f2393be182a5f7a Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Sat, 13 Jun 2020 15:01:19 +0200 Subject: [PATCH] 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. --- plugins/modules/docker_container.py | 3 +++ plugins/modules/docker_swarm_service.py | 1 + 2 files changed, 4 insertions(+) diff --git a/plugins/modules/docker_container.py b/plugins/modules/docker_container.py index 44081260..ef8db1d0 100644 --- a/plugins/modules/docker_container.py +++ b/plugins/modules/docker_container.py @@ -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. diff --git a/plugins/modules/docker_swarm_service.py b/plugins/modules/docker_swarm_service.py index dd1fd7c9..42c08464 100644 --- a/plugins/modules/docker_swarm_service.py +++ b/plugins/modules/docker_swarm_service.py @@ -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.