mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
committed by
Abhijeet Kasurde
parent
907765a3a5
commit
eb1d52ebc6
@@ -789,13 +789,12 @@ def main():
|
|||||||
zone=dict(type='str', required=True, aliases=['domain']),
|
zone=dict(type='str', required=True, aliases=['domain']),
|
||||||
),
|
),
|
||||||
supports_check_mode=True,
|
supports_check_mode=True,
|
||||||
required_if=([
|
required_if=[
|
||||||
('state', 'present', ['record', 'type', 'value']),
|
('state', 'present', ['record', 'type', 'value']),
|
||||||
('state', 'absent', ['record']),
|
('state', 'absent', ['record']),
|
||||||
('type', 'SRV', ['proto', 'service']),
|
('type', 'SRV', ['proto', 'service']),
|
||||||
('type', 'TLSA', ['proto', 'port']),
|
('type', 'TLSA', ['proto', 'port']),
|
||||||
],
|
],
|
||||||
),
|
|
||||||
)
|
)
|
||||||
|
|
||||||
if module.params['type'] == 'SRV':
|
if module.params['type'] == 'SRV':
|
||||||
|
|||||||
Reference in New Issue
Block a user