mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-01 00:03:10 +00:00
committed by
Abhijeet Kasurde
parent
907765a3a5
commit
eb1d52ebc6
@@ -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':
|
||||
|
||||
Reference in New Issue
Block a user