kubevirt: also add wait_sleep (#61020)
(cherry picked from commit cf86a5e07a
)
This commit is contained in:
parent
988d369305
commit
008bc53150
2 changed files with 6 additions and 0 deletions
|
@ -63,6 +63,7 @@ VM_COMMON_ARG_SPEC = {
|
|||
'merge_type': {'type': 'list', 'choices': ['json', 'merge', 'strategic-merge']},
|
||||
'wait': {'type': 'bool', 'default': True},
|
||||
'wait_timeout': {'type': 'int', 'default': 120},
|
||||
'wait_sleep': {'type': 'int', 'default': 5},
|
||||
}
|
||||
VM_COMMON_ARG_SPEC.update(VM_SPEC_DEF_ARG_SPEC)
|
||||
|
||||
|
|
|
@ -32,6 +32,11 @@ options:
|
|||
- The amount of time in seconds the module should wait for the resource to get into desired state.
|
||||
type: int
|
||||
default: 120
|
||||
wait_sleep:
|
||||
description:
|
||||
- Number of seconds to sleep between checks.
|
||||
default: 5
|
||||
version_added: "2.9"
|
||||
memory:
|
||||
description:
|
||||
- The amount of memory to be requested by virtual machine.
|
||||
|
|
Loading…
Reference in a new issue