---
# Install Radeon Graphics Driver; applies only to group "radeon".
- hosts: radeon
  tasks:
  - name: Create Temp
    win_file:
      path: c:\Temp
      state: directory
  # This zip was created by opening the self-extracting exe using Archive Manager on Debian and
  # re-zipping the extracted files as a ZIP archive.
  - name: Copy the Radeon driver ZIP to the host
    win_copy:
      src: "{{ win_package_src }}/\
        Radeon Graphics non-whql-win10-64bit-radeon-software-crimson-relive-17.5.2-may17.zip"
      dest: c:\Temp\radeon_gfx.zip
  - name: Extract the Radeon driver ZIP
    win_unzip:
      src: c:\Temp\radeon_gfx.zip
      dest: C:\Temp\Radeon
      delete_archive: yes
  - name: Install Radeon Graphics Driver
    # Silent install args based on info displayed for "Setup.exe /?".
    # TODO(dogben): The graphics driver seems to install OK, but there are errors for other
    # components. Need to investigate more.
    win_command: C:\Temp\Radeon\Setup.exe -INSTALL
  - name: Cleanup
    win_file:
      path: c:\Temp\Radeon
      state: absent

---
# Install Radeon Graphics Driver; applies only to group "radeon".
- hosts: radeon
  tasks:
  - name: Create Temp
    win_file:
      path: c:\Temp
      state: directory
  # This zip was created by opening the self-extracting exe using Archive Manager on Debian and
  # re-zipping the extracted files as a ZIP archive.
  - name: Copy the Radeon driver ZIP to the host
    win_copy:
      src: "{{ win_package_src }}/\
        Radeon Graphics win10-64bit-radeon-software-adrenalin-edition-18.2.2-feb12.zip"
      dest: c:\Temp\radeon_gfx.zip
  - name: Extract the Radeon driver ZIP
    win_unzip:
      src: c:\Temp\radeon_gfx.zip
      dest: C:\Temp\Radeon
      delete_archive: yes
  - name: Install Radeon Graphics Driver
    # Silent install args based on info displayed for "Setup.exe /?".
    # TODO(dogben): The graphics driver seems to install OK, but there are errors for other
    # components. Need to investigate more.
    win_command: C:\Temp\Radeon\Setup.exe -INSTALL
  - name: Cleanup
    win_file:
      path: c:\Temp\Radeon
      state: absent

Switch Ansible Win Radeon script to newer driver.
Switch Ansible Win Radeon script to newer driver.

Partially reverts
https://skia-review.googlesource.com/c/buildbot/+/109803

Change-Id: If5b0bedc7420cb2049ac9f1cc495dc5a2568077c
Reviewed-on: https://skia-review.googlesource.com/111122
Reviewed-by: Kevin Lubick <7cdab2cfab351f23814786ba39716e90eed69047@google.com>
Commit-Queue: Ben Wagner <3ef7217be91069877d94f7907ce5479000772cd3@google.com>
