mirror of
https://github.com/ansible-collections/community.docker.git
synced 2026-07-29 03:46:55 +00:00
Drop support for docker-py. (#1171)
This commit is contained in:
@@ -15,7 +15,7 @@ description:
|
||||
- This module allows to change the node's role, its availability, and to modify, add or remove node labels.
|
||||
extends_documentation_fragment:
|
||||
- community.docker._docker
|
||||
- community.docker._docker.docker_py_1_documentation
|
||||
- community.docker._docker.docker_py_2_documentation
|
||||
- community.docker._attributes
|
||||
- community.docker._attributes.actiongroup_docker
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ description:
|
||||
- Must be executed on a host running as Swarm Manager, otherwise the module will fail.
|
||||
extends_documentation_fragment:
|
||||
- community.docker._docker
|
||||
- community.docker._docker.docker_py_1_documentation
|
||||
- community.docker._docker.docker_py_2_documentation
|
||||
- community.docker._attributes
|
||||
- community.docker._attributes.actiongroup_docker
|
||||
- community.docker._attributes.info_module
|
||||
|
||||
@@ -15,7 +15,7 @@ description:
|
||||
- Add/Remove nodes or managers to an existing cluster.
|
||||
extends_documentation_fragment:
|
||||
- community.docker._docker
|
||||
- community.docker._docker.docker_py_1_documentation
|
||||
- community.docker._docker.docker_py_2_documentation
|
||||
- community.docker._attributes
|
||||
- community.docker._attributes.actiongroup_docker
|
||||
|
||||
@@ -198,7 +198,7 @@ options:
|
||||
version_added: 3.1.0
|
||||
|
||||
requirements:
|
||||
- "L(Docker SDK for Python,https://docker-py.readthedocs.io/en/stable/) >= 1.10.0"
|
||||
- "L(Docker SDK for Python,https://docker-py.readthedocs.io/en/stable/) >= 2.0.0"
|
||||
- Docker API >= 1.25
|
||||
author:
|
||||
- Thierry Bouvet (@tbouvet)
|
||||
@@ -724,7 +724,7 @@ def main():
|
||||
argument_spec=argument_spec,
|
||||
supports_check_mode=True,
|
||||
required_if=required_if,
|
||||
min_docker_version="1.10.0",
|
||||
min_docker_version="2.0.0",
|
||||
option_minimal_versions=option_minimal_versions,
|
||||
)
|
||||
sanitize_labels(client.module.params["labels"], "labels", client)
|
||||
|
||||
@@ -24,7 +24,7 @@ author:
|
||||
|
||||
extends_documentation_fragment:
|
||||
- community.docker._docker
|
||||
- community.docker._docker.docker_py_1_documentation
|
||||
- community.docker._docker.docker_py_2_documentation
|
||||
- community.docker._attributes
|
||||
- community.docker._attributes.actiongroup_docker
|
||||
- community.docker._attributes.info_module
|
||||
@@ -83,7 +83,7 @@ options:
|
||||
default: false
|
||||
|
||||
requirements:
|
||||
- "L(Docker SDK for Python,https://docker-py.readthedocs.io/en/stable/) >= 1.10.0"
|
||||
- "L(Docker SDK for Python,https://docker-py.readthedocs.io/en/stable/) >= 2.0.0"
|
||||
- "Docker API >= 1.25"
|
||||
"""
|
||||
|
||||
@@ -366,7 +366,7 @@ def main():
|
||||
client = AnsibleDockerSwarmClient(
|
||||
argument_spec=argument_spec,
|
||||
supports_check_mode=True,
|
||||
min_docker_version="1.10.0",
|
||||
min_docker_version="2.0.0",
|
||||
option_minimal_versions=option_minimal_versions,
|
||||
fail_results={
|
||||
"can_talk_to_docker": False,
|
||||
|
||||
@@ -18,7 +18,7 @@ description:
|
||||
- Must be executed on a host running as Swarm Manager, otherwise the module will fail.
|
||||
extends_documentation_fragment:
|
||||
- community.docker._docker
|
||||
- community.docker._docker.docker_py_1_documentation
|
||||
- community.docker._docker.docker_py_2_documentation
|
||||
- community.docker._attributes
|
||||
- community.docker._attributes.actiongroup_docker
|
||||
- community.docker._attributes.info_module
|
||||
|
||||
Reference in New Issue
Block a user