2022-03-15 22:30:19 +00:00
|
|
|
- include_tasks: install-expand-rootfs.yml
|
2022-03-15 14:24:30 +00:00
|
|
|
|
|
|
|
|
2022-03-15 22:30:19 +00:00
|
|
|
# Conditional hardware actions below:
|
2022-03-15 14:24:30 +00:00
|
|
|
|
2022-03-15 22:30:19 +00:00
|
|
|
- include_tasks: internal-wifi.yml
|
2022-03-15 17:47:39 +00:00
|
|
|
|
2021-07-31 20:43:29 +00:00
|
|
|
- include_tasks: raspberry_pi.yml
|
|
|
|
when: first_run and rpi_model != "none"
|
|
|
|
|
2022-03-15 14:24:30 +00:00
|
|
|
|
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
|
|
|
|
|
2022-03-15 14:24:30 +00:00
|
|
|
- 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:
|
2022-03-15 14:24:30 +00:00
|
|
|
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 }}"
|
2021-08-29 18:36:48 +00:00
|
|
|
when: usb_NUC6.stdout|int > 0
|