kubevirt: also add wait_sleep (#61020)

This commit is contained in:
Mariusz Mazur 2019-09-02 02:53:31 +02:00 committed by Abhijeet Kasurde
parent de6e2de0c4
commit cf86a5e07a
2 changed files with 6 additions and 0 deletions

View file

@ -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)

View file

@ -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.