univention udm_share: add required_if to the API

pull/18777/head
Tobias Rueetschi 9 years ago 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']

Loading…
Cancel
Save