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/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.
11 years ago
..
cloudformation cloudformation's disable_rollback must be a bool 11 years ago
digital_ocean Bulk update of choices=BOOLEANS to type='bool' 11 years ago
digital_ocean_domain Fix version_added and snippet imports on new digital ocean modules 11 years ago
digital_ocean_sshkey Fix version_added and snippet imports on new digital ocean modules 11 years ago
docker docker: exclude 'entrypoint' from comparing 'command' param with containers 11 years ago
docker_image Merge pull request #6805 from sivel/env-interpreter-fix 11 years ago
ec2 cleaning up the code a bit more 11 years ago
ec2_ami Moved AWS modules over to common module fragments 11 years ago
ec2_ami_search Fix typo in example name 11 years ago
ec2_asg Moved AWS modules over to common module fragments 11 years ago
ec2_eip Moved AWS modules over to common module fragments 11 years ago
ec2_elb Use common code for ec2_elb and ec2_elb_lb 11 years ago
ec2_elb_lb Use common code for ec2_elb and ec2_elb_lb 11 years ago
ec2_facts Adding validate_certs to all modules that use fetch_url 11 years ago
ec2_group Moved AWS modules over to common module fragments 11 years ago
ec2_key Moved AWS modules over to common module fragments 11 years ago
ec2_lc Moved AWS modules over to common module fragments 11 years ago
ec2_metric_alarm Moved AWS modules over to common module fragments 11 years ago
ec2_scaling_policy Moved AWS modules over to common module fragments 11 years ago
ec2_snapshot Moved AWS modules over to common module fragments 11 years ago
ec2_tag Moved AWS modules over to common module fragments 11 years ago
ec2_vol Moved AWS modules over to common module fragments 11 years ago
ec2_vpc Check resource_tags value before using it in ec2_vpc 11 years ago
elasticache cloud/elasticache: Ensure self.data is iterable 11 years ago
gc_storage Bugfix for gc_storage and s3 11 years ago
gce Bulk update of choices=BOOLEANS to type='bool' 11 years ago
gce_lb Fix version_added for new params in gce_lb 11 years ago
gce_net Fix version_added for new params in gce_net 11 years ago
gce_pd Fix version_added for new params in gce_pd 11 years ago
glance_image
keystone_user Fix version_added for login_tenant_name in keystone_user 11 years ago
linode
nova_compute nova_compute: Adding the version_added flag to user_data. 11 years ago
nova_keypair bug 5959: https://github.com/ansible/ansible/issues/5959 11 years ago
ovirt
quantum_floating_ip Fix version added for new parameters in quantum modules 11 years ago
quantum_floating_ip_associate
quantum_network
quantum_router
quantum_router_gateway
quantum_router_interface
quantum_subnet Fix version added for new parameters in quantum modules 11 years ago
rax rax modules improvements 11 years ago
rax_cbs Shared module docs for remaining rax modules 11 years ago
rax_cbs_attachments Shared module docs for remaining rax modules 11 years ago
rax_clb rax modules improvements 11 years ago
rax_clb_nodes Simplify node matching 11 years ago
rax_dns rax modules improvements 11 years ago
rax_dns_record rax modules improvements 11 years ago
rax_facts rax modules improvements 11 years ago
rax_files rax modules improvements 11 years ago
rax_files_objects rax modules improvements 11 years ago
rax_identity Shared module docs for remaining rax modules 11 years ago
rax_keypair rax modules improvements 11 years ago
rax_network rax modules improvements 11 years ago
rax_queue rax modules improvements 11 years ago
rds Merge pull request #6798 from follower/patch-5 11 years ago
rds_param_group
rds_subnet_group
route53 Fixed references to missing method in ec2 modules 11 years ago
s3 Bugfix for gc_storage and s3 11 years ago
virt Fix the default url of get_xml function. 11 years ago