mirror of
https://github.com/roles-ansible/ansible_role_amdgpu_firmware.git
synced 2024-08-16 14:59:49 +02:00
22 lines
546 B
YAML
22 lines
546 B
YAML
---
|
|
- name: "Create directory for firmware"
|
|
become: true
|
|
ansible.builtin.file:
|
|
path: "{{ amdgpu__path_prefix }}/{{ item }}"
|
|
state: 'directory'
|
|
mode: '0755'
|
|
owner: 'root'
|
|
group: 'root'
|
|
loop:
|
|
- "{{ amdgpu__path_suffix }}"
|
|
|
|
- name: Download amdgpu firmware
|
|
become: true
|
|
ansible.builtin.get_url:
|
|
url: "{{ amdgpu__download_prefix }}/{{ item }}"
|
|
dest: "{{ amdgpu__path_prefix }}/{{ item }}"
|
|
owner: 'root'
|
|
group: 'root'
|
|
mode: '0644'
|
|
loop: "{{ amdgpu__firmware }}"
|
|
notify: 'Run update initramfs'
|