mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
[docker_network] Fix idempotency when using aux_addresses in ipam_config (#56901)
* [docker_network] Fix idempotency when using aux_addresses in ipam_config Mismatch between keys returned by Docker API (AuxilliaryAddresses) vs expected by Ansible module (aux_addresses) resulted in tasks always have status 'changed'. The existing code normalizing one set of keys to another missed this special case where converting CamelCase to lowercase is not sufficent. Please see https://github.com/moby/moby/blob/master/api/types/network/network.go for reference. * Correct keywords formatting in changelog file Co-Authored-By: Felix Fontein <felix@fontein.de>
This commit is contained in:
2
changelogs/fragments/docker_network_aux_addresses.yml
Normal file
2
changelogs/fragments/docker_network_aux_addresses.yml
Normal file
@@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- docker_network module - fix idempotency when using ``aux_addresses`` in ``ipam_config``.
|
||||
Reference in New Issue
Block a user