ovirt require storage_domain if state is registred (#47423)
This commit is contained in:
parent
a5c8e952e8
commit
0d9c923464
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue