1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

ovirt require storage_domain if state is registred (#47423)

This commit is contained in:
Martin Nečas 2018-11-06 14:48:45 +01:00 committed by ansibot
parent a5c8e952e8
commit 0d9c923464

View file

@ -2054,6 +2054,9 @@ def main():
argument_spec=argument_spec, argument_spec=argument_spec,
supports_check_mode=True, supports_check_mode=True,
required_one_of=[['id', 'name']], required_one_of=[['id', 'name']],
required_if=[
('state', 'registered', ['storage_domain']),
]
) )
check_sdk(module) check_sdk(module)