This a bad commit message. NO idea.
This commit is contained in:
@@ -11,7 +11,9 @@ virtio_win_ovirt: false
|
||||
virtio_win_facts: "{{ ansible_env.SystemDrive }}\\{{ source_of_supply_name | default('Support') }}\\facts.d"
|
||||
|
||||
virtio_driver_directory: >-
|
||||
{% if 'Windows Server 2019' in ansible_distribution -%}
|
||||
{% if 'Windows Server 2022' in ansible_distribution -%}
|
||||
{% set virt_dir = '2k19' %}
|
||||
{% elif 'Windows Server 2019' in ansible_distribution -%}
|
||||
{% set virt_dir = '2k19' %}
|
||||
{% elif 'Windows Server 2016' in ansible_distribution -%}
|
||||
{% set virt_dir = '2k16' %}
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
win_disk_image:
|
||||
image_path: "{{ ansible_env.TEMP }}\\{{ virtio_win_iso_name }}"
|
||||
state: absent
|
||||
when: win_disk_image.mount_path is defined
|
||||
when: win_disk_image.mount_paths is defined
|
||||
|
||||
- name: Delete downloaded
|
||||
win_file:
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
install_date: Wed Jun 30 01:12:49 2021
|
||||
install_date: Fri Oct 15 18:59:17 2021
|
||||
version: master
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
|
||||
- name: Set the virtio_win_iso_path and virtio_win_virtio_path
|
||||
set_fact:
|
||||
virtio_win_iso_path: '{{ win_disk_image.mount_path | default(virtio_iso_mount_drive) }}'
|
||||
virtio_win_virtio_path: "{{ (win_disk_image.mount_path | default(virtio_iso_mount_drive)) + '\\virtio' if virtio_win_ovirt else (win_disk_image.mount_path | default(virtio_iso_mount_drive)) }}"
|
||||
virtio_win_iso_path: '{{ win_disk_image.mount_paths[0] | default(virtio_iso_mount_drive) }}'
|
||||
virtio_win_virtio_path: "{{ (win_disk_image.mount_paths[0] | default(virtio_iso_mount_drive)) + '\\virtio' if virtio_win_ovirt else (win_disk_image.mount_paths[0] | default(virtio_iso_mount_drive)) }}"
|
||||
virtio_win_iso_name: "{{ virtio_win_iso_name }}"
|
||||
when:
|
||||
- virtio_iso_mount_drive | length > 0 or ('Windows Server 2008' not in ansible_distribution and 'Windows 7' not in ansible_distribution)
|
||||
|
||||
Reference in New Issue
Block a user