summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--roles/lib_dyn/library/dyn_record.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/lib_dyn/library/dyn_record.py b/roles/lib_dyn/library/dyn_record.py
index 990ec1d7d..ab3f5bb40 100644
--- a/roles/lib_dyn/library/dyn_record.py
+++ b/roles/lib_dyn/library/dyn_record.py
@@ -184,7 +184,7 @@ def main():
user_password=dict(default=os.environ.get('DYNECT_PASSWORD', None), type='str', no_log=True),
zone=dict(required=True, type='str'),
record_fqdn=dict(required=False, type='str'),
- record_type=dict(required=False, choices=[
+ record_type=dict(required=False, type='str', choices=[
'A', 'AAAA', 'CNAME', 'PTR', 'TXT']),
record_value=dict(required=False, type='str'),
record_ttl=dict(required=False, default=0, type='int'),