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,
supports_check_mode=True,
required_one_of=[['id', 'name']],
required_if=[
('state', 'registered', ['storage_domain']),
]
)
check_sdk(module)