This a bad commit message. NO idea.

This commit is contained in:
2022-02-15 14:56:51 -05:00
parent 4a8ab6fc84
commit 3fb974987c
62 changed files with 421 additions and 1063 deletions

View File

@@ -17,9 +17,19 @@
when: ansible_version.full is version('2.9', '>=')
rescue:
- name: ignoring any error
debug:
msg: "ignoring error..."
- name: stop vm
ovirt.ovirt.ovirt_vm:
auth: "{{ ovirt_auth }}"
cluster: "{{ providers.ovirt.cluster }}"
name: "{{ template.name }}"
state: stopped
when: template is defined
- include_tasks: wait_vm_poweredoff_pre29.yml
when: ansible_version.full is version('2.9', '<')
- include_tasks: wait_vm_poweredoff.yml
when: ansible_version.full is version('2.9', '>=')
- name: reconfigure vm
ovirt.ovirt.ovirt_vm:

View File

@@ -10,4 +10,4 @@
- ovirt_vm_info_result.ovirt_vms|length > 0
- ovirt_vm_info_result.ovirt_vms[0].status == 'down'
delay: 5
retries: 30
retries: "{{ instance_stop_retry_limit }}"

View File

@@ -9,4 +9,4 @@
- ovirt_vms|length > 0
- ovirt_vms[0].status == 'down'
delay: 5
retries: 30
retries: "{{ instance_stop_retry_limit }}"