You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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
5 years ago
..
__init__.py docker: Allow publishing of ports with the same number but different protocol (#38412) 7 years ago
test_docker_container.py docker: fix sanity errors (#60047) 5 years ago
test_docker_network.py docker: fix sanity errors (#60047) 5 years ago
test_docker_swarm_service.py docker_swarm_service: Allow passing dicts in networks (#58961) 5 years ago
test_docker_volume.py docker: fix sanity errors (#60047) 5 years ago