From 0d3b144eb2ecf0622f4642031899f2cfa77188a3 Mon Sep 17 00:00:00 2001 From: Phillip Holmes Date: Mon, 29 Sep 2014 16:23:41 -0500 Subject: [PATCH] Route53 fix - forcing zone_in, record_in to lower case Fixed the .tolower to .lower() for correct syntax (copied change from older notes). --- lib/ansible/modules/cloud/amazon/route53.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ansible/modules/cloud/amazon/route53.py b/lib/ansible/modules/cloud/amazon/route53.py index 6fb44fcbf0f..c81fc5bc60c 100644 --- a/lib/ansible/modules/cloud/amazon/route53.py +++ b/lib/ansible/modules/cloud/amazon/route53.py @@ -180,9 +180,9 @@ def main(): module = AnsibleModule(argument_spec=argument_spec) command_in = module.params.get('command') - zone_in = module.params.get('zone') + zone_in = module.params.get('zone').lower() ttl_in = module.params.get('ttl') - record_in = module.params.get('record') + record_in = module.params.get('record').lower() type_in = module.params.get('type') value_in = module.params.get('value') retry_interval_in = module.params.get('retry_interval')