summaryrefslogtreecommitdiffstats
path: root/roles/lib_dyn/library
diff options
context:
space:
mode:
Diffstat (limited to 'roles/lib_dyn/library')
-rw-r--r--roles/lib_dyn/library/dyn_record.py6
1 files changed, 3 insertions, 3 deletions
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=(