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.
 
 
 
 
 
Go to file
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.
11 years ago
cloud Route53 fix - forcing zone_in, record_in to lower case 11 years ago
commands package files 11 years ago
database package files 11 years ago
files package files 11 years ago
internal package files 11 years ago
inventory package files 11 years ago
network package files 11 years ago
packaging package files 11 years ago
source_control package files 11 years ago
system package files 11 years ago
utilities package files 11 years ago
web_infrastructure package files 11 years ago
windows Fix filename error. 11 years ago
.gitignore Add basic top level files. 11 years ago
CONTRIBUTING.md Add basic top level files. 11 years ago
COPYING Add basic top level files. 11 years ago
README.md Update README.md 11 years ago
__init__.py package files 11 years ago

README.md

ansible-modules-core

This repo contains Ansible's most popular modules that are shipped with Ansible.

New module submissions for modules that do not yet exist should be submitted to ansible-modules-extras, rather than this repo.

Take care to submit tickets to the appropriate repo where modules are contained. The docs.ansible.com website indicates this at the bottom of each module documentation page.

License

As with Ansible, modules distributed with Ansible are GPLv3 licensed. User generated modules not part of this project can be of any license.