mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Netcup DNS: Add support for additional record types (#7489)
* Netcup DNS: Add support for additional record types * Netcup DNS: Add changelog fragment * Netcup DNS: Include information on minimum required versions in module documentation * Apply suggestions from code review Co-authored-by: Felix Fontein <felix@fontein.de> --------- Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
e1503fc306
commit
f8d8f691bc
2 changed files with 9 additions and 2 deletions
2
changelogs/fragments/7489-netcup-dns-record-types.yml
Normal file
2
changelogs/fragments/7489-netcup-dns-record-types.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
minor_changes:
|
||||
- netcup_dns - adds support for record types ``OPENPGPKEY``, ``SMIMEA``, and ``SSHFP`` (https://github.com/ansible-collections/community.general/pull/7489).
|
|
@ -53,7 +53,10 @@ options:
|
|||
type:
|
||||
description:
|
||||
- Record type.
|
||||
choices: ['A', 'AAAA', 'MX', 'CNAME', 'CAA', 'SRV', 'TXT', 'TLSA', 'NS', 'DS']
|
||||
- Support for V(OPENPGPKEY), V(SMIMEA) and V(SSHFP) was added in community.general 8.1.0.
|
||||
- Record types V(OPENPGPKEY) and V(SMIMEA) require nc-dnsapi >= 0.1.5.
|
||||
- Record type V(SSHFP) requires nc-dnsapi >= 0.1.6.
|
||||
choices: ['A', 'AAAA', 'MX', 'CNAME', 'CAA', 'SRV', 'TXT', 'TLSA', 'NS', 'DS', 'OPENPGPKEY', 'SMIMEA', 'SSHFP']
|
||||
required: true
|
||||
type: str
|
||||
value:
|
||||
|
@ -213,7 +216,9 @@ def main():
|
|||
|
||||
domain=dict(required=True),
|
||||
record=dict(required=False, default='@', aliases=['name']),
|
||||
type=dict(required=True, choices=['A', 'AAAA', 'MX', 'CNAME', 'CAA', 'SRV', 'TXT', 'TLSA', 'NS', 'DS']),
|
||||
type=dict(required=True, choices=['A', 'AAAA', 'MX', 'CNAME', 'CAA', 'SRV', 'TXT',
|
||||
'TLSA', 'NS', 'DS', 'OPENPGPKEY', 'SMIMEA',
|
||||
'SSHFP']),
|
||||
value=dict(required=True),
|
||||
priority=dict(required=False, type='int'),
|
||||
solo=dict(required=False, type='bool', default=False),
|
||||
|
|
Loading…
Reference in a new issue