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

@@ -3,6 +3,7 @@
install_updates: yes
instance_wait_retry_limit: 300
instance_wait_connection_timeout: 400
instance_stop_retry_limit: 60
# this will remove existing template with the same name
template_force: no
@@ -73,4 +74,5 @@ os_short_names:
win2012: 2k12R2
win2016: 2k16
win2019: 2k19
win10: 10
win2022: 2k19 # 2k22 is not *yet* available on virtio iso
win10: w10

View File

@@ -1,2 +1,2 @@
install_date: Wed Jun 30 01:12:45 2021
install_date: Fri Oct 15 18:59:12 2021
version: ''

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 }}"