2021-09-01 02:39:22 +02:00
|
|
|
---
|
2021-09-01 14:15:26 +02:00
|
|
|
- name: "create {{ amdgpu__path_prefix }}/{{ amdgpu__path_suffix }}"
|
2021-09-01 03:00:02 +02:00
|
|
|
become: true
|
|
|
|
ansible.builtin.file:
|
2021-09-01 14:15:26 +02:00
|
|
|
path: "{{ amdgpu__path_prefix }}/{{ item }}"
|
2021-09-01 03:00:02 +02:00
|
|
|
state: directory
|
|
|
|
mode: 0755
|
|
|
|
owner: root
|
|
|
|
group: root
|
2021-09-01 14:15:26 +02:00
|
|
|
with_items: "{{ amdgpu__path_suffix }}"
|
2021-09-01 03:00:02 +02:00
|
|
|
|
2021-09-01 14:15:26 +02:00
|
|
|
- name: download amdgpu firmware
|
2021-09-01 02:39:22 +02:00
|
|
|
become: true
|
|
|
|
ansible.builtin.get_url:
|
2021-09-01 14:15:26 +02:00
|
|
|
url: "{{ amdgpu__download_prefix }}/{{ item }}"
|
|
|
|
dest: "{{ amdgpu__path_prefix }}/{{ item }}"
|
2021-09-01 02:39:22 +02:00
|
|
|
owner: root
|
|
|
|
group: root
|
|
|
|
mode: 0644
|
2021-09-01 14:15:26 +02:00
|
|
|
with_items: "{{ amdgpu__firmware }}"
|
2021-09-01 02:39:22 +02:00
|
|
|
notify: update initrd
|