Ovirt add host retry doc backport (#58718)
* add changelog * add docs about retry (#58625)
This commit is contained in:
parent
04762f1c26
commit
4519688a95
2 changed files with 11 additions and 0 deletions
2
changelogs/fragments/58625-ovirt_add_host_retry_doc.yml
Normal file
2
changelogs/fragments/58625-ovirt_add_host_retry_doc.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
bugfixes:
|
||||
- ovirt add host retry example to documentation BZ(https://bugzilla.redhat.com/show_bug.cgi?id=1719271)
|
|
@ -232,6 +232,15 @@ EXAMPLES = '''
|
|||
name: myhost
|
||||
force: True
|
||||
|
||||
# Retry removing host when failed (https://bugzilla.redhat.com/show_bug.cgi?id=1719271)
|
||||
- ovirt_host:
|
||||
state: absent
|
||||
name: myhost
|
||||
register: result
|
||||
until: not result.failed
|
||||
retries: 6
|
||||
delay: 20
|
||||
|
||||
# Change host Name
|
||||
- ovirt_host:
|
||||
id: 00000000-0000-0000-0000-000000000000
|
||||
|
|
Loading…
Reference in a new issue