kubevirt: also add wait_sleep (#61020)

pull/61669/head
Mariusz Mazur 5 years ago committed by Abhijeet Kasurde
parent de6e2de0c4
commit cf86a5e07a

@ -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…
Cancel
Save