ansible/test/units/modules/cloud/docker
Hannes Ljungberg 13364fc530 docker_swarm_service: Allow passing dicts in networks (#58961)
* Add support for passing networks as dicts

* Add function to compare a list of different objects

* Handle comparing falsy values to missing values

* Pass docker versions to Service

* Move can_update_networks to Service class

* Pass Networks in TaskTemplate when supported

* Remove weird __str__

* Add networks integration tests

* Add unit tests

* Add example

* Add changelog fragment

* Make sure that network options are clean

Co-Authored-By: Felix Fontein <felix@fontein.de>

* Set networks elements as raw in arg spec

Co-Authored-By: Felix Fontein <felix@fontein.de>

* Fix wrong variable naming

* Check for network options that are not valid

* Only check for None options

* Validate that aliases is a list
2019-08-18 08:55:54 +02:00
..
__init__.py docker: Allow publishing of ports with the same number but different protocol (#38412) 2018-06-15 12:36:20 -04:00
test_docker_container.py docker: fix sanity errors (#60047) 2019-08-09 23:50:11 +02:00
test_docker_network.py docker: fix sanity errors (#60047) 2019-08-09 23:50:11 +02:00
test_docker_swarm_service.py docker_swarm_service: Allow passing dicts in networks (#58961) 2019-08-18 08:55:54 +02:00
test_docker_volume.py docker: fix sanity errors (#60047) 2019-08-09 23:50:11 +02:00