mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-07 19:23:09 +00:00
univention udm_share: add required_if to the API
This commit is contained in:
committed by
Matt Clay
parent
bba8cdf0af
commit
b38979321d
@@ -123,7 +123,10 @@ def main():
|
||||
choices=['present', 'absent'],
|
||||
type='str')
|
||||
),
|
||||
supports_check_mode=True
|
||||
supports_check_mode=True,
|
||||
required_if = ([
|
||||
('state', 'present', ['path', 'host', 'sambaName'])
|
||||
])
|
||||
)
|
||||
name = module.params['name']
|
||||
state = module.params['state']
|
||||
|
||||
Reference in New Issue
Block a user