Remove restriction of SRV protocols (#36709)

This commit is contained in:
Dennis Glindhart 2018-03-09 15:22:01 +01:00 committed by ansibot
parent 5e827f4cc4
commit 5506229e79
2 changed files with 3 additions and 3 deletions

View file

@ -14,6 +14,7 @@ Ansible Changes By Release
See [Porting Guide](http://docs.ansible.com/ansible/devel/porting_guides/porting_guides.html) for more information See [Porting Guide](http://docs.ansible.com/ansible/devel/porting_guides/porting_guides.html) for more information
### Minor Changes ### Minor Changes
* Removed restriction from protocol in cloudflare_dns module to allow other protocols than tcp and udp to be specified.
* Ansible 2.6 and onwards, `target_id` parameter in `vmware_target_canonical_facts` module is an optional parameter. * Ansible 2.6 and onwards, `target_id` parameter in `vmware_target_canonical_facts` module is an optional parameter.

View file

@ -42,9 +42,8 @@ options:
required: false required: false
default: "1" default: "1"
proto: proto:
description: Service protocol. Required for C(type=SRV) description: Service protocol. Required for C(type=SRV). Common values are tcp and udp. (Before Ansible 2.6 only tcp and udp were available).
required: false required: false
choices: [ 'tcp', 'udp' ]
default: null default: null
proxied: proxied:
description: Proxy through cloudflare network or just use DNS description: Proxy through cloudflare network or just use DNS
@ -602,7 +601,7 @@ def main():
account_email=dict(required=True, type='str'), account_email=dict(required=True, type='str'),
port=dict(required=False, default=None, type='int'), port=dict(required=False, default=None, type='int'),
priority=dict(required=False, default=1, type='int'), priority=dict(required=False, default=1, type='int'),
proto=dict(required=False, default=None, choices=['tcp', 'udp'], type='str'), proto=dict(required=False, default=None, type='str'),
proxied=dict(required=False, default=False, type='bool'), proxied=dict(required=False, default=False, type='bool'),
record=dict(required=False, default='@', aliases=['name'], type='str'), record=dict(required=False, default='@', aliases=['name'], type='str'),
service=dict(required=False, default=None, type='str'), service=dict(required=False, default=None, type='str'),