Update roles
This commit is contained in:
@@ -21,14 +21,21 @@
|
||||
# Arguments: >
|
||||
# /S
|
||||
|
||||
- name: "{{ ansible_distribution | lower }} | install Ovirt Guest Agent"
|
||||
win_shell: '{{ virtio_win_iso_path }}\ovirt-guest-tools-setup.exe /S'
|
||||
args:
|
||||
executable: cmd
|
||||
creates: "{{ ansible_env['ProgramFiles(x86)'] }}\\oVirt Guest Tools"
|
||||
async: 1
|
||||
poll: 0
|
||||
ignore_errors: yes
|
||||
- block:
|
||||
- name: "{{ ansible_distribution | lower }} | install Ovirt Guest Agent"
|
||||
win_shell: '{{ virtio_win_iso_path }}\ovirt-guest-tools-setup.exe /S'
|
||||
args:
|
||||
executable: cmd
|
||||
creates: "{{ ansible_env['ProgramFiles(x86)'] }}\\oVirt Guest Tools"
|
||||
async: 1000
|
||||
poll: 0
|
||||
|
||||
rescue:
|
||||
- name: "{{ ansible_distribution | lower }} | install Ovirt Guest Agent"
|
||||
win_shell: '{{ virtio_win_iso_path }}\ovirt-guest-tools-setup.exe /S'
|
||||
args:
|
||||
executable: cmd
|
||||
creates: "{{ ansible_env['ProgramFiles(x86)'] }}\\oVirt Guest Tools"
|
||||
|
||||
- name: "{{ ansible_distribution | lower }} | wait for system to be online"
|
||||
wait_for_connection:
|
||||
|
||||
Reference in New Issue
Block a user