feat(ansible): update community.docker ( 3.5.0 → 3.6.0 ) #5874
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:
3.5.0
->3.6.0
Release Notes
ansible-collections/community.docker (community.docker)
v3.6.0
Compare Source
======
Release Summary
Bugfix and feature release.
The collection now includes a bunch of new
docker_image_*
modules that move features out of therather complex
docker_image
module. These new modules are easier to use and can better declare whetherthey support check mode, diff mode, or none of them.
This version also features modules that support the Docker CLI plugins
buildx
andcompose
.The
docker_image_build
module uses thedocker buildx
command under the hood, and thedocker_compose_v2
and
docker_compose_v2_pull
modules uses thedocker compose
command. All these modules use the Docker CLIinstead of directly talking to the API. The modules support mostly the same interface as the API based modules,
so the main difference is that instead of some Python requirements, they depend on the Docker CLI tool
docker
.Major Changes
community.docker
collection now depends on thecommunity.library_inventory_filtering_v1
collection. This utility collection provides host filtering functionality for inventory plugins. If you use the Ansible community package, both collections are included and you do not have to do anything special. If you install the collection withansible-galaxy collection install
, it will be installed automatically. If you install the collection by copying the files of the collection to a place where ansible-core can find it, for example by cloning the git repository, you need to make sure that you also have to install the dependency if you are using the inventory plugins (https://github.com/ansible-collections/community.docker/pull/698).Minor Changes
ca_cert
option available to almost all modules and plugins has been renamed toca_path
. The nameca_path
is also used for similar options in ansible-core and other collections. The old name has been added as an alias and can still be used (https://github.com/ansible-collections/community.docker/pull/744).docker_stack*
modules now use the common CLI-based module code added for thedocker_image_build
anddocker_compose_v2
modules. This means that the modules now have various more configuration options with respect to talking to the Docker Daemon, and now also are part of thecommunity.docker.docker
anddocker
module default groups (https://github.com/ansible-collections/community.docker/pull/745).networks[].mac_address
option for Docker API 1.44+. Note that Docker API 1.44 no longer uses the globalmac_address
option, this new option is the only way to set the MAC address for a container (https://github.com/ansible-collections/community.docker/pull/763)./dev/shm
size when building images (https://github.com/ansible-collections/community.docker/issues/726, https://github.com/ansible-collections/community.docker/pull/727).filter
option which allows to include and exclude hosts based on Jinja2 conditions (https://github.com/ansible-collections/community.docker/pull/698, https://github.com/ansible-collections/community.docker/issues/610).Bugfixes
unix:///var/run/docker.sock
instead of the legacyunix://var/run/docker.sock
as default fordocker_host
(https://github.com/ansible-collections/community.docker/pull/736).New Modules
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 Renovate Bot.