diff options
author | Russell Harrison <rharriso@redhat.com> | 2016-02-16 14:51:45 -0500 |
---|---|---|
committer | Russell Harrison <rharriso@redhat.com> | 2016-02-16 14:51:45 -0500 |
commit | 61c28772c04a16da46b91e9f7ca12d07b5ac787c (patch) | |
tree | 2249b7a94d4f55179145e5e333b38f02e796b09d | |
parent | 6192d36a990f266ce68842929c6744a726bd4d52 (diff) | |
download | openshift-61c28772c04a16da46b91e9f7ca12d07b5ac787c.tar.gz openshift-61c28772c04a16da46b91e9f7ca12d07b5ac787c.tar.bz2 openshift-61c28772c04a16da46b91e9f7ca12d07b5ac787c.tar.xz openshift-61c28772c04a16da46b91e9f7ca12d07b5ac787c.zip |
Add types to module params
-rw-r--r-- | roles/lib_dyn/library/dyn_record.py | 6 |
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=( |