kubevirt: also add wait_sleep (#61020)

(cherry picked from commit cf86a5e07a)
This commit is contained in:
Mariusz Mazur 2019-09-02 02:53:31 +02:00 committed by Toshio Kuratomi
parent 988d369305
commit 008bc53150
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.