1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 19:52:06 +00:00
iiab/roles/1-prep/tasks/hardware.yml

23 lines
682 B
YAML
Raw Normal View History

- include_tasks: install-expand-rootfs.yml
# Conditional hardware actions below:
- include_tasks: internal-wifi.yml
2021-07-31 20:43:29 +00:00
- include_tasks: raspberry_pi.yml
when: first_run and rpi_model != "none"
2021-07-31 20:43:29 +00:00
- name: Check if the identifier for Intel's NUC6 built-in WiFi is present
shell: "lsusb | grep 8087:0a2b | wc | awk '{print $1}'"
register: usb_NUC6
ignore_errors: True
- name: Download {{ iiab_download_url }}/iwlwifi-8000C-13.ucode to /lib/firmware for built-in WiFi on NUC6
2021-07-31 20:43:29 +00:00
get_url:
url: "{{ iiab_download_url }}/iwlwifi-8000C-13.ucode" # http://download.iiab.io/packages
2021-07-31 20:43:29 +00:00
dest: /lib/firmware
timeout: "{{ download_timeout }}"
when: usb_NUC6.stdout|int > 0