ansible/library
Joshua Conner 4defd9a15a docker: exclude 'entrypoint' from comparing 'command' param with containers
The JSON the Docker API returns includes the container's ENTRYPOINT value (if it has one) with the 'Command' value. So instead of checking if `container['Command'] == module.params['command']`, we just check that `container['Command'].endswith(module.params['command'])` so the entrypoint won't affect a container being properly classified as matching the module params or not.

Also I refactored a super-long `if` statement into some temporary variables - I did it to help me figure out what was going wrong, and then it makes the code more readable so I kept it.
2014-04-17 16:10:53 -07:00
..
cloud docker: exclude 'entrypoint' from comparing 'command' param with containers 2014-04-17 16:10:53 -07:00
commands Clarify free_form isn't a real option :) 2014-04-03 17:34:33 -04:00
database re-add idempotency check 2014-04-05 16:31:33 -07:00
files Get the bin path for commands in the unarchive module 2014-04-15 20:39:22 -05:00
internal Make async jid's unique per host 2014-03-26 13:48:47 -05:00
inventory Make add_host clear the inventory pattern cache, add some more aliases. Fixes #4442. 2013-10-11 16:37:10 -04:00
messaging Fix version_added for node in rabbitmq modules 2014-04-08 10:40:41 -04:00
monitoring Fix version_added for url in airbrake_deployment module 2014-04-07 22:30:53 -04:00
net_infrastructure Adding an options sections to the docstring in the lldp module 2014-03-30 23:08:53 -05:00
network Fixes #6857 Make the url parameter required for get_url 2014-04-04 16:36:38 -04:00
notification Merge pull request #6740 from mjschultz/add-sns-notification 2014-03-28 13:37:09 -04:00
packaging Fixed test on 'cached' parameter. 2014-04-15 16:41:27 +02:00
source_control Fix incorrect version_added value in docstring for subversion export param 2014-04-08 10:26:12 -05:00
system Add missing info for the append option 2014-04-16 01:22:12 -03:00
utilities Acclerate improvements 2014-03-23 14:45:49 -05:00
web_infrastructure Fix version_added for a few parameters in django_manage 2014-04-07 22:57:49 -04:00