mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 12:50:22 -07:00
docker_* modules: improve diff (#48546)
* Add difference tracking tool * Improve --diff mode for docker_container. * Improve diffs of sets by ordering the sets. * Rewrite imports, get rid of HAS_DOCKER_PY_x variables and use docker_version instead. * Rename container -> active (more generic). * Add --diff for docker_volume. Change old diff output. * Add --diff for docker_network. Change old diff output. * Add --diff for docker_swarm_service. * Add changelog. * Add entry for porting guide on docker_network and docker_volume.
This commit is contained in:
parent
a67e9f89e7
commit
891687284f
13 changed files with 356 additions and 114 deletions
|
@ -110,6 +110,10 @@ Noteworthy module changes
|
|||
|
||||
* The ``vmware_local_role_facts`` module now returns a list of dicts instead of a dict of dicts for role information.
|
||||
|
||||
* If ``docker_network`` or ``docker_volume`` were called with ``diff: yes``, ``check_mode: yes`` or ``debug: yes``,
|
||||
a return value called ``diff`` was returned of type ``list``. To enable proper diff output, this was changed to
|
||||
type ``dict``; the original ``list`` is returned as ``diff.differences``.
|
||||
|
||||
Plugins
|
||||
=======
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue