ansible/cloud
Joshua Conner 0ce43d6e3c 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
..
cloudformation cloudformation's disable_rollback must be a bool 2014-04-04 08:00:56 -07:00
digital_ocean Bulk update of choices=BOOLEANS to type='bool' 2014-03-11 15:42:45 -05:00
digital_ocean_domain Fix version_added and snippet imports on new digital ocean modules 2014-03-11 15:43:59 -04:00
digital_ocean_sshkey Fix version_added and snippet imports on new digital ocean modules 2014-03-11 15:43:59 -04:00
docker docker: exclude 'entrypoint' from comparing 'command' param with containers 2014-04-17 16:10:53 -07:00
docker_image Merge pull request #6805 from sivel/env-interpreter-fix 2014-04-01 15:03:20 -04:00
ec2 cleaning up the code a bit more 2014-04-15 18:16:34 -04:00
ec2_ami Moved AWS modules over to common module fragments 2014-04-09 21:19:12 +10:00
ec2_ami_search Fix typo in example name 2014-03-15 19:16:14 +13:00
ec2_asg Moved AWS modules over to common module fragments 2014-04-09 21:19:12 +10:00
ec2_eip Moved AWS modules over to common module fragments 2014-04-09 21:19:12 +10:00
ec2_elb Use common code for ec2_elb and ec2_elb_lb 2014-04-09 22:47:51 +10:00
ec2_elb_lb Use common code for ec2_elb and ec2_elb_lb 2014-04-09 22:47:51 +10:00
ec2_facts Adding validate_certs to all modules that use fetch_url 2014-03-12 10:19:54 -05:00
ec2_group Moved AWS modules over to common module fragments 2014-04-09 21:19:12 +10:00
ec2_key Moved AWS modules over to common module fragments 2014-04-09 21:19:12 +10:00
ec2_lc Moved AWS modules over to common module fragments 2014-04-09 21:19:12 +10:00
ec2_metric_alarm Moved AWS modules over to common module fragments 2014-04-09 21:19:12 +10:00
ec2_scaling_policy Moved AWS modules over to common module fragments 2014-04-09 21:19:12 +10:00
ec2_snapshot Moved AWS modules over to common module fragments 2014-04-09 21:19:12 +10:00
ec2_tag Moved AWS modules over to common module fragments 2014-04-09 21:19:12 +10:00
ec2_vol Moved AWS modules over to common module fragments 2014-04-09 21:19:12 +10:00
ec2_vpc Check resource_tags value before using it in ec2_vpc 2014-04-16 12:21:32 -05:00
elasticache cloud/elasticache: Ensure self.data is iterable 2014-04-11 18:23:53 -05:00
gc_storage Bugfix for gc_storage and s3 2014-03-28 22:47:46 +02:00
gce Bulk update of choices=BOOLEANS to type='bool' 2014-03-11 22:39:42 -05:00
gce_lb Fix version_added for new params in gce_lb 2014-04-08 10:00:30 -04:00
gce_net Fix version_added for new params in gce_net 2014-04-08 10:03:56 -04:00
gce_pd Fix version_added for new params in gce_pd 2014-04-08 10:05:57 -04:00
glance_image reword "except Error as e:" into "except Error, e:" to be compatible with Python 2.5 (#5852) 2014-02-03 13:00:40 -06:00
keystone_user Fix version_added for login_tenant_name in keystone_user 2014-04-08 10:25:44 -04:00
linode fix linode typo 2014-02-07 20:47:57 -05:00
nova_compute nova_compute: Adding the version_added flag to user_data. 2014-03-11 13:45:04 -05:00
nova_keypair bug 5959: https://github.com/ansible/ansible/issues/5959 2014-03-11 13:41:50 -04:00
ovirt Use ovirtsdk if it installed, but fall out gracefully if it is not 2013-12-03 20:21:16 +08:00
quantum_floating_ip Fix version added for new parameters in quantum modules 2014-04-08 10:32:53 -04:00
quantum_floating_ip_associate reword "except Error as e:" into "except Error, e:" to be compatible with Python 2.5 (#5852) 2014-02-03 13:00:40 -06:00
quantum_network reword "except Error as e:" into "except Error, e:" to be compatible with Python 2.5 (#5852) 2014-02-03 13:00:40 -06:00
quantum_router reword "except Error as e:" into "except Error, e:" to be compatible with Python 2.5 (#5852) 2014-02-03 13:00:40 -06:00
quantum_router_gateway reword "except Error as e:" into "except Error, e:" to be compatible with Python 2.5 (#5852) 2014-02-03 13:00:40 -06:00
quantum_router_interface reword "except Error as e:" into "except Error, e:" to be compatible with Python 2.5 (#5852) 2014-02-03 13:00:40 -06:00
quantum_subnet Fix version added for new parameters in quantum modules 2014-04-08 10:32:53 -04:00
rax rax modules improvements 2014-04-03 17:16:24 -04:00
rax_cbs Shared module docs for remaining rax modules 2014-04-04 13:02:49 -05:00
rax_cbs_attachments Shared module docs for remaining rax modules 2014-04-04 13:02:49 -05:00
rax_clb rax modules improvements 2014-04-03 17:16:24 -04:00
rax_clb_nodes Simplify node matching 2014-04-06 19:17:13 -05:00
rax_dns rax modules improvements 2014-04-03 17:16:24 -04:00
rax_dns_record rax modules improvements 2014-04-03 17:16:24 -04:00
rax_facts rax modules improvements 2014-04-03 17:16:24 -04:00
rax_files rax modules improvements 2014-04-03 17:16:24 -04:00
rax_files_objects rax modules improvements 2014-04-03 17:16:24 -04:00
rax_identity Shared module docs for remaining rax modules 2014-04-04 13:02:49 -05:00
rax_keypair rax modules improvements 2014-04-03 17:16:24 -04:00
rax_network rax modules improvements 2014-04-03 17:16:24 -04:00
rax_queue rax modules improvements 2014-04-03 17:16:24 -04:00
rds Merge pull request #6798 from follower/patch-5 2014-04-02 17:34:33 -04:00
rds_param_group Adds modules for managing Amazon RDS parameter and subnet groups. 2014-03-02 19:36:07 -05:00
rds_subnet_group Adds modules for managing Amazon RDS parameter and subnet groups. 2014-03-02 19:36:07 -05:00
route53 Fixed references to missing method in ec2 modules 2014-03-11 18:19:03 -06:00
s3 Bugfix for gc_storage and s3 2014-03-28 22:47:46 +02:00
virt Fix the default url of get_xml function. 2014-03-31 11:05:31 +08:00