1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_amdgpu_firmware.git synced 2024-08-16 14:59:49 +02:00
ansible_role_amdgpu_firmware/tasks/kernel_firmware_download.yml
2021-09-01 14:15:26 +02:00

21 lines
558 B
YAML

---
- name: "create {{ amdgpu__path_prefix }}/{{ amdgpu__path_suffix }}"
become: true
ansible.builtin.file:
path: "{{ amdgpu__path_prefix }}/{{ item }}"
state: directory
mode: 0755
owner: root
group: root
with_items: "{{ 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
with_items: "{{ amdgpu__firmware }}"
notify: update initrd