From 61c28772c04a16da46b91e9f7ca12d07b5ac787c Mon Sep 17 00:00:00 2001 From: Russell Harrison Date: Tue, 16 Feb 2016 14:51:45 -0500 Subject: Add types to module params --- roles/lib_dyn/library/dyn_record.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'roles') diff --git a/roles/lib_dyn/library/dyn_record.py b/roles/lib_dyn/library/dyn_record.py index 901395ac9..990ec1d7d 100644 --- a/roles/lib_dyn/library/dyn_record.py +++ b/roles/lib_dyn/library/dyn_record.py @@ -182,11 +182,11 @@ def main(): customer_name=dict(default=os.environ.get('DYNECT_CUSTOMER_NAME', None), type='str'), user_name=dict(default=os.environ.get('DYNECT_USER_NAME', None), type='str', no_log=True), user_password=dict(default=os.environ.get('DYNECT_PASSWORD', None), type='str', no_log=True), - zone=dict(required=True), - record_fqdn=dict(required=False), + zone=dict(required=True, type='str'), + record_fqdn=dict(required=False, type='str'), record_type=dict(required=False, choices=[ 'A', 'AAAA', 'CNAME', 'PTR', 'TXT']), - record_value=dict(required=False), + record_value=dict(required=False, type='str'), record_ttl=dict(required=False, default=0, type='int'), ), required_together=( -- cgit v1.2.3