community.general/lib/ansible
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
..
cli Move the arguments module into cli/ and context_objects into utils 2019-01-03 18:12:23 -08:00
compat Move unit test compat code out of lib/ansible/. (#46996) 2018-10-12 20:01:14 -07:00
config Update unit tests for configmanager 2018-12-18 12:20:35 -08:00
errors Add new AnsibleTemplateError to more easily catch templating issues (#50563) 2019-01-04 14:33:05 -06:00
executor Close all open filehandle (#50544) 2019-01-11 10:14:08 -05:00
galaxy Save the command line arguments into a global context 2019-01-03 18:12:23 -08:00
inventory Fix reverse_inventory order to work on python3 (#49895) 2018-12-17 15:39:29 -06:00
module_utils Add missing parameters in get_config vyos (#50855) 2019-01-14 15:13:43 +05:30
modules docker_swarm_service: use exact name match when finding services (#50665) 2019-01-14 12:00:34 +01:00
parsing Update bare exceptions to specify Exception. 2018-12-16 15:03:19 -08:00
playbook Save the command line arguments into a global context 2019-01-03 18:12:23 -08:00
plugins Do not load user kube config if path specified (#49952) 2019-01-11 17:26:53 +00:00
template Update bare exceptions to specify Exception. 2018-12-16 15:03:19 -08:00
utils Fix: lxca_nodes misspelled in the lxca_common.py (#50734) 2019-01-10 02:57:32 -06:00
vars Add new AnsibleTemplateError to more easily catch templating issues (#50563) 2019-01-04 14:33:05 -06:00
__init__.py
constants.py become_method: make dzdo more like sudo (#47946) 2018-12-04 18:24:32 -05:00
context.py Move the arguments module into cli/ and context_objects into utils 2019-01-03 18:12:23 -08:00
release.py Codename: How Many More Times 2018-09-04 12:38:29 -04:00