ansible/cloud
Phillip Holmes b3e84f2dd4 Route53 fix - forcing zone_in, record_in to lower case
It turns out the Route53 API cares if the zone and record specified in the playbook are lower case or not when deleting a record. If you use a variable to name your servers and care about case, using that same proper case name will cause Route53 DNS delete requests to fail.

The change requested adds .lower() to the module.params.get for both zone and record when used in the underlying code.

Both zone and record are mandatory variables, and as such a more complicated implementation is not needed, as they must always be specified when using this module see lines 169 and 170 for the required state).

If you use lowercase names (or don't use a name variable and share it between a tag and DNS entries) then you will never see this issue.

Tested/Confirmed as an issue in Ansible 1.6.6 and above.
2014-09-29 16:20:25 -05:00
..
__init__.py package files 2014-09-26 11:05:47 -04:00
azure.py file extensions! 2014-09-26 10:37:56 -04:00
cloudformation.py file extensions! 2014-09-26 10:37:56 -04:00
digital_ocean.py file extensions! 2014-09-26 10:37:56 -04:00
digital_ocean_domain.py file extensions! 2014-09-26 10:37:56 -04:00
digital_ocean_sshkey.py file extensions! 2014-09-26 10:37:56 -04:00
docker.py file extensions! 2014-09-26 10:37:56 -04:00
docker_image.py file extensions! 2014-09-26 10:37:56 -04:00
ec2.py file extensions! 2014-09-26 10:37:56 -04:00
ec2_ami.py file extensions! 2014-09-26 10:37:56 -04:00
ec2_ami_search.py file extensions! 2014-09-26 10:37:56 -04:00
ec2_asg.py file extensions! 2014-09-26 10:37:56 -04:00
ec2_eip.py file extensions! 2014-09-26 10:37:56 -04:00
ec2_elb.py file extensions! 2014-09-26 10:37:56 -04:00
ec2_elb_lb.py file extensions! 2014-09-26 10:37:56 -04:00
ec2_facts.py file extensions! 2014-09-26 10:37:56 -04:00
ec2_group.py file extensions! 2014-09-26 10:37:56 -04:00
ec2_key.py file extensions! 2014-09-26 10:37:56 -04:00
ec2_lc.py file extensions! 2014-09-26 10:37:56 -04:00
ec2_metric_alarm.py file extensions! 2014-09-26 10:37:56 -04:00
ec2_scaling_policy.py file extensions! 2014-09-26 10:37:56 -04:00
ec2_snapshot.py file extensions! 2014-09-26 10:37:56 -04:00
ec2_tag.py file extensions! 2014-09-26 10:37:56 -04:00
ec2_vol.py file extensions! 2014-09-26 10:37:56 -04:00
ec2_vpc.py file extensions! 2014-09-26 10:37:56 -04:00
elasticache.py file extensions! 2014-09-26 10:37:56 -04:00
gc_storage.py file extensions! 2014-09-26 10:37:56 -04:00
gce.py file extensions! 2014-09-26 10:37:56 -04:00
gce_lb.py file extensions! 2014-09-26 10:37:56 -04:00
gce_net.py file extensions! 2014-09-26 10:37:56 -04:00
gce_pd.py file extensions! 2014-09-26 10:37:56 -04:00
glance_image.py file extensions! 2014-09-26 10:37:56 -04:00
keystone_user.py file extensions! 2014-09-26 10:37:56 -04:00
linode.py file extensions! 2014-09-26 10:37:56 -04:00
nova_compute.py file extensions! 2014-09-26 10:37:56 -04:00
nova_keypair.py file extensions! 2014-09-26 10:37:56 -04:00
quantum_floating_ip.py file extensions! 2014-09-26 10:37:56 -04:00
quantum_floating_ip_associate.py file extensions! 2014-09-26 10:37:56 -04:00
quantum_network.py file extensions! 2014-09-26 10:37:56 -04:00
quantum_router.py file extensions! 2014-09-26 10:37:56 -04:00
quantum_router_gateway.py file extensions! 2014-09-26 10:37:56 -04:00
quantum_router_interface.py file extensions! 2014-09-26 10:37:56 -04:00
quantum_subnet.py file extensions! 2014-09-26 10:37:56 -04:00
rax.py file extensions! 2014-09-26 10:37:56 -04:00
rax_cbs.py file extensions! 2014-09-26 10:37:56 -04:00
rax_cbs_attachments.py file extensions! 2014-09-26 10:37:56 -04:00
rax_cdb.py file extensions! 2014-09-26 10:37:56 -04:00
rax_cdb_database.py file extensions! 2014-09-26 10:37:56 -04:00
rax_cdb_user.py file extensions! 2014-09-26 10:37:56 -04:00
rax_clb.py file extensions! 2014-09-26 10:37:56 -04:00
rax_clb_nodes.py file extensions! 2014-09-26 10:37:56 -04:00
rax_dns.py file extensions! 2014-09-26 10:37:56 -04:00
rax_dns_record.py file extensions! 2014-09-26 10:37:56 -04:00
rax_facts.py file extensions! 2014-09-26 10:37:56 -04:00
rax_files.py file extensions! 2014-09-26 10:37:56 -04:00
rax_files_objects.py file extensions! 2014-09-26 10:37:56 -04:00
rax_identity.py file extensions! 2014-09-26 10:37:56 -04:00
rax_keypair.py file extensions! 2014-09-26 10:37:56 -04:00
rax_meta.py file extensions! 2014-09-26 10:37:56 -04:00
rax_network.py file extensions! 2014-09-26 10:37:56 -04:00
rax_queue.py file extensions! 2014-09-26 10:37:56 -04:00
rax_scaling_group.py file extensions! 2014-09-26 10:37:56 -04:00
rax_scaling_policy.py file extensions! 2014-09-26 10:37:56 -04:00
rds.py file extensions! 2014-09-26 10:37:56 -04:00
rds_param_group.py file extensions! 2014-09-26 10:37:56 -04:00
rds_subnet_group.py file extensions! 2014-09-26 10:37:56 -04:00
route53.py Route53 fix - forcing zone_in, record_in to lower case 2014-09-29 16:20:25 -05:00
s3.py file extensions! 2014-09-26 10:37:56 -04:00
vsphere_guest.py file extensions! 2014-09-26 10:37:56 -04:00