Fix as suggested in the issue.

https://github.com/ansible/ansible-modules-core/issues/1156
This commit is contained in:
xiaclo 2015-04-30 13:01:00 +10:00 committed by Toshio Kuratomi
parent 30fc6f03d6
commit 2aa793ec0e

View file

@ -209,7 +209,7 @@ def main():
command_in = module.params.get('command') command_in = module.params.get('command')
zone_in = module.params.get('zone').lower() zone_in = module.params.get('zone').lower()
ttl_in = module.params.get('ttl') ttl_in = int(module.params.get('ttl'))
record_in = module.params.get('record').lower() record_in = module.params.get('record').lower()
type_in = module.params.get('type') type_in = module.params.get('type')
value_in = module.params.get('value') value_in = module.params.get('value')