1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_rtl_nic_firmware.git synced 2024-08-16 13:39:50 +02:00
ansible_role_rtl_nic_firmware/README.md

58 lines
1.8 KiB
Markdown
Raw Normal View History

2021-09-01 11:05:52 +02:00
[![Galaxy](https://github.com/roles-ansible/ansible_role_rtl_nic_firmware/raw/main/.github/galaxy.svg)](https://galaxy.ansible.com/do1jlr/rtl_nic_firmware)
[![License](https://github.com/roles-ansible/ansible_role_rtl_nic_firmware/raw/main/.github/license.svg)](https://github.com/roles-ansible/ansible_role_rtl_nic_firmware/blob/main/LICENSE)
2021-09-01 03:00:02 +02:00
ansible role rtl_nic_firmware
===============================
2021-09-01 03:02:20 +02:00
Ansible role to install some missing ``rtl_nic`` Firmware for APU.
2021-09-01 03:00:02 +02:00
This role is only running at:
```yaml
when:
- ansible_board_name == 'APU'
- ansible_product_name == 'APU'
```
2021-09-01 11:05:52 +02:00
+ It will download the defined Firmware Files from the ``rtl_nic__firmware`` variable.
+ Then we run ``update-initramfs -k all -u``.
2021-09-01 03:00:02 +02:00
You can change the downloaded firmware file names by modifying the default variables.
2021-09-01 11:05:52 +02:00
Optionally you can perform a simple versionscheck, that can prevent you from running a older version of this role accidentially.
Variables
-----------
```yaml
---
# define download url prefix
rtl_nic__download_prefix: 'https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain'
# defined firmware list
rtl_nic__firmware:
- 'rtl_nic/rtl8107e-2.fw'
- 'rtl_nic/rtl8107e-1.fw'
- 'rtl_nic/rtl8168h-2.fw'
- 'rtl_nic/rtl8168h-1.fw'
- 'rtl_nic/rtl8168g-3.fw'
- 'rtl_nic/rtl8168g-2.fw'
- 'rtl_nic/rtl8106e-2.fw'
- 'rtl_nic/rtl8106e-1.fw'
- 'rtl_nic/rtl8411-2.fw'
- 'rtl_nic/rtl8411-1.fw'
- 'rtl_nic/rtl8402-1.fw'
- 'rtl_nic/rtl8168f-2.fw'
- 'rtl_nic/rtl8168f-1.fw'
- 'rtl_nic/rtl8105e-1.fw'
- 'rtl_nic/rtl8168e-3.fw'
- 'rtl_nic/rtl8168e-2.fw'
- 'rtl_nic/rtl8168e-1.fw'
- 'rtl_nic/rtl8168d-2.fw'
- 'rtl_nic/rtl8168d-1.fw'
rtl_nic__path_prefix: '/lib/firmware'
rtl_nic__path_suffix: 'rtl_nic'
# should we do a version check? (true is recomended)
submodules_versioncheck: false
```