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:
parent
a5c8e952e8
commit
0d9c923464
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue