Update dependency community.docker to v3 #22
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
2.7.0
->3.0.2
Release Notes
ansible-collections/community.docker
v3.0.2
Compare Source
======
Release Summary
Bugfix release.
Bugfixes
v3.0.1
Compare Source
======
Release Summary
Bugfix release.
Bugfixes
env_file
(env_file
directive indocker_container
tasks has no effect since3.0.0
ansible-collections/community.docker#451, docker_container: fix env_file option ansible-collections/community.docker#452).v3.0.0
Compare Source
======
Release Summary
The 3.0.0 release features a rewrite of the
docker_container
module, and many modules and plugins no longer depend on the Docker SDK for Python.Major Changes
requests
to be installed, and depending on the features used has some more requirements. If the Docker SDK for Python is installed, these requirements are likely met (Rewrite the docker_api connection plugin ansible-collections/community.docker#414).requests
to be installed, and depending on the features used has some more requirements. If the Docker SDK for Python is installed, these requirements are likely met (Rewrite docker_container to use Docker API directly ansible-collections/community.docker#422).requests
to be installed, and depending on the features used has some more requirements. If the Docker SDK for Python is installed, these requirements are likely met (Rewrite the docker_container_exec module ansible-collections/community.docker#401).requests
to be installed, and depending on the features used has some more requirements. If the Docker SDK for Python is installed, these requirements are likely met (Rewrite the docker_container_info module ansible-collections/community.docker#402).requests
to be installed, and depending on the features used has some more requirements. If the Docker SDK for Python is installed, these requirements are likely met (Rewrite the docker_containers inventory plugin ansible-collections/community.docker#413).requests
to be installed, and depending on the features used has some more requirements. If the Docker SDK for Python is installed, these requirements are likely met (Rewrite the docker_host_info module ansible-collections/community.docker#403).requests
to be installed, and depending on the features used has some more requirements. If the Docker SDK for Python is installed, these requirements are likely met (Rewrite the docker_image module ansible-collections/community.docker#404).requests
to be installed, and depending on the features used has some more requirements. If the Docker SDK for Python is installed, these requirements are likely met (Rewrite the docker_image_info module ansible-collections/community.docker#405).requests
to be installed, and depending on the features used has some more requirements. If the Docker SDK for Python is installed, these requirements are likely met (Rewrite the docker_image_load module ansible-collections/community.docker#406).requests
to be installed, and depending on the features used has some more requirements. If the Docker SDK for Python is installed, these requirements are likely met (Rewrite the docker_login module ansible-collections/community.docker#407).requests
to be installed, and depending on the features used has some more requirements. If the Docker SDK for Python is installed, these requirements are likely met (Rewrite the docker_network module ansible-collections/community.docker#408).requests
to be installed, and depending on the features used has some more requirements. If the Docker SDK for Python is installed, these requirements are likely met (Rewrite the docker_network_info module ansible-collections/community.docker#409).requests
to be installed, and depending on the features used has some more requirements. If the Docker SDK for Python is installed, these requirements are likely met (Rewrite docker_plugin to not use the Docker SDK for Python ansible-collections/community.docker#429).requests
to be installed, and depending on the features used has some more requirements. If the Docker SDK for Python is installed, these requirements are likely met (Rewrite the docker_prune module ansible-collections/community.docker#410).requests
to be installed, and depending on the features used has some more requirements. If the Docker SDK for Python is installed, these requirements are likely met (Rewrite the docker_volume module ansible-collections/community.docker#411).requests
to be installed, and depending on the features used has some more requirements. If the Docker SDK for Python is installed, these requirements are likely met (Rewrite the docker_volume_info module ansible-collections/community.docker#412).Minor Changes
LICENSES/
directory of the collection root. Moreover,SPDX-License-Identifier:
is used to declare the applicable license for every file that is not automatically generated (Move licenses to LICENSES/, use SPDX-License-Identifier, mention all licenses in galaxy.yml ansible-collections/community.docker#430).distutils.version
in favor of vendored copy included with ansible-core 2.12+. For ansible-core 2.11, usesdistutils.version
for Python < 3.12. There is no support for ansible-core 2.11 with Python 3.12+ (Unvendor distutils.version ansible-collections/community.docker#271).image_comparison
to control the behavior for which image will be used for idempotency checks (Behavior of docker_container around images differs from documented ansible-collections/community.docker#421, docker_container: add image_comparison parameter ansible-collections/community.docker#428).cgroupns_mode
(add support for cgroupns ansible-collections/community.docker#338, docker_container: add cgroupns_mode parameter ansible-collections/community.docker#427).platform
(Add 'platform' option in docker_container ansible-collections/community.docker#123, docker_container: add platform parameter ansible-collections/community.docker#426).Breaking Changes / Porting Guide
exposed_ports
is no longer ignored incomparisons
. Before, its value was assumed to be identical with the value ofpublished_ports
(Rewrite docker_container to use Docker API directly ansible-collections/community.docker#422).log_options
can no longer be specified whenlog_driver
is not specified (Rewrite docker_container to use Docker API directly ansible-collections/community.docker#422).publish_all_ports
is no longer ignored incomparisons
(Rewrite docker_container to use Docker API directly ansible-collections/community.docker#422).restart_retries
can no longer be specified whenrestart_policy
is not specified (Rewrite docker_container to use Docker API directly ansible-collections/community.docker#422).stop_timeout
is no longer ignored for idempotency if told to be not ignored incomparisons
. So far it defaulted toignore
there, and setting it tostrict
had no effect (Rewrite docker_container to use Docker API directly ansible-collections/community.docker#422).use_ssh_client=true
, reject unknown host keys instead of accepting them. This is only a breaking change relative to older community.docker 3.0.0 pre-releases or with respect to Docker SDK for Python < 6.0.0. Docker SDK for Python 6.0.0 will also include this change (Vendored Docker SDK for Python updates ansible-collections/community.docker#434).Removed Features (previously deprecated)
docker_compose
module, please install that requirement manually (Implement all remaining deprecations for 3.0.0 ansible-collections/community.docker#400).tls_hostname
(localhost
) has been removed. If you want to continue usinglocalhost
, you need to specify it explicitly (Remove bumped deprecations ansible-collections/community.docker#363).all
value is no longer allowed inpublished_ports
. Usepublish_all_ports=true
instead (Remove deprecations from docker_container, bump collection version to 3.0.0 ansible-collections/community.docker#399).command_handling
was changed fromcompatibility
tocorrect
. Older versions were warning for every invocation of the module when this would result in a change of behavior (Remove deprecations from docker_container, bump collection version to 3.0.0 ansible-collections/community.docker#399).out
anderr
have been removed. Usestdout
andstderr
instead (Remove bumped deprecations ansible-collections/community.docker#363).Security Fixes
use_ssh_client=true
, reject unknown host keys instead of accepting them. This is only a change relative to older community.docker 3.0.0 pre-releases or with respect to Docker SDK for Python < 6.0.0. Docker SDK for Python 6.0.0 will also include this change (Vendored Docker SDK for Python updates ansible-collections/community.docker#434).Bugfixes
.dockerignore
entries. This is only a change relative to older community.docker 3.0.0 pre-releases or with respect to Docker SDK for Python < 6.0.0. Docker SDK for Python 6.0.0 will also include this change (Vendored Docker SDK for Python updates ansible-collections/community.docker#434).compose
was containing invalid values (Fix error formatting bug ansible-collections/community.docker#448).use_ssh_client=true
. This is only a change relative to older community.docker 3.0.0 pre-releases or with respect to Docker SDK for Python < 6.0.0. Docker SDK for Python 6.0.0 will also include this change (Vendored Docker SDK for Python updates ansible-collections/community.docker#434).ProxyCommand
handling for SSH connections when not usinguse_ssh_client=true
. This is only a change relative to older community.docker 3.0.0 pre-releases or with respect to Docker SDK for Python < 6.0.0. Docker SDK for Python 6.0.0 will also include this change (Vendored Docker SDK for Python updates ansible-collections/community.docker#434).docker_host
. This is only a change relative to older community.docker 3.0.0 pre-releases or with respect to Docker SDK for Python < 6.0.0. Docker SDK for Python 6.0.0 will also include this change (Vendored Docker SDK for Python updates ansible-collections/community.docker#434).v2.7.1
Compare Source
See https://github.com/ansible-collections/community.docker/blob/stable-2/CHANGELOG.rst for all changes.
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.