mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
parent
907765a3a5
commit
eb1d52ebc6
1 changed files with 1 additions and 2 deletions
|
@ -789,13 +789,12 @@ def main():
|
|||
zone=dict(type='str', required=True, aliases=['domain']),
|
||||
),
|
||||
supports_check_mode=True,
|
||||
required_if=([
|
||||
required_if=[
|
||||
('state', 'present', ['record', 'type', 'value']),
|
||||
('state', 'absent', ['record']),
|
||||
('type', 'SRV', ['proto', 'service']),
|
||||
('type', 'TLSA', ['proto', 'port']),
|
||||
],
|
||||
),
|
||||
)
|
||||
|
||||
if module.params['type'] == 'SRV':
|
||||
|
|
Loading…
Reference in a new issue