community.general/lib/ansible/modules/cloud/docker
Rich Wareham fd32760d7a docker_swarm_service: use exact name match when finding services (#50665)
* docker_swarm_service: use exact name match when finding services

The Docker API's filtering support allows filtering for substring
matches which means that when we filter the list of running services we
may accidentally match a service called "foobar" when looking for a
service named "foo".

Fix this by filtering the list of services returned from the Docker API
so that name matches are exact. It is still worth passing the filter
parameter to the Docker API because it reduces the number of results
passed back which may be important for remote Docker connections.

Closes 50654.

* add changelog fragment for #50654
2019-01-14 12:00:34 +01:00
..
__init__.py added __init__.py to new cloud subcategories so builds work again 2016-12-08 11:22:25 -05:00
_docker.py Fixup removed and deprecated modules 2018-08-24 15:37:13 -07:00
docker_config.py docker_secret, docker_config: allow to base64-decode data (#49688) 2019-01-01 16:06:45 +00:00
docker_container.py Update bare exceptions to specify Exception. 2018-12-16 15:03:19 -08:00
docker_container_facts.py Add docker_volume_facts module (#49692) 2018-12-10 15:41:46 +10:00
docker_image.py Improve tagging examples. (#50321) 2018-12-26 15:10:14 +00:00
docker_image_facts.py docker_* modules: updating argument_spec (#48491) 2018-11-12 11:33:42 +00:00
docker_login.py docker_* modules: unify docker module version checks (#47046) 2018-10-18 10:51:58 +01:00
docker_network.py Update bare exceptions to specify Exception. 2018-12-16 15:03:19 -08:00
docker_network_facts.py [docker_network_facts] Creating docker_network_facts module (#49644) 2018-12-10 15:24:05 +10:00
docker_node_facts.py docker_node_facts: Read information about swarm node from swarm manager (#50571) 2019-01-08 13:00:59 +00:00
docker_prune.py Docker common consolidation (#49707) 2018-12-12 09:05:12 +00:00
docker_secret.py docker_secret, docker_config: allow to base64-decode data (#49688) 2019-01-01 16:06:45 +00:00
docker_service.py Convert to reduced list of known types (#50010) 2018-12-19 07:25:30 +10:00
docker_stack.py Correct Errors in Documentation (#50507) 2019-01-04 05:16:15 -05:00
docker_swarm.py Docker common consolidation (#49707) 2018-12-12 09:05:12 +00:00
docker_swarm_service.py docker_swarm_service: use exact name match when finding services (#50665) 2019-01-14 12:00:34 +01:00
docker_volume.py docker_volume: revert #47390 (#50663) 2019-01-11 14:41:37 -06:00
docker_volume_facts.py Add docker_volume_facts module (#49692) 2018-12-10 15:41:46 +10:00